/* Telemetry Modal Styles */
.speedygo-telemetry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.speedygo-telemetry-modal.active {
    opacity: 1;
    visibility: visible;
}

.speedygo-telemetry-content {
    background: #ffffff;
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.speedygo-telemetry-modal.active .speedygo-telemetry-content {
    transform: translateY(0);
}

.speedygo-telemetry-badge {
    background: #f0f0ff;
    color: #4f46e5;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.speedygo-telemetry-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
    line-height: 1.2;
}

.speedygo-telemetry-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 24px;
}

.speedygo-telemetry-collect {
    margin-bottom: 24px;
}

.speedygo-telemetry-collect h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.speedygo-telemetry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.speedygo-telemetry-list li {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.speedygo-telemetry-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d1d5db;
}

.speedygo-telemetry-note {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 32px;
}

.speedygo-telemetry-actions {
    display: flex;
    gap: 12px;
}

.speedygo-telemetry-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    flex: 1;
    text-align: center;
}

.speedygo-telemetry-btn--allow {
    background: #6366f1;
    color: #ffffff;
}

.speedygo-telemetry-btn--allow:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.speedygo-telemetry-btn--deny {
    background: #ffffff;
    border-color: #d1d5db;
    color: #4b5563;
}

.speedygo-telemetry-btn--deny:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.speedygo-telemetry-loader {
    display: none;
    margin-left: 8px;
}

.speedygo-telemetry-btn.loading .speedygo-telemetry-loader {
    display: inline-block;
}

/* Spinner style */
.speedygo-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: speedygo-spin 0.8s linear infinite;
}

@keyframes speedygo-spin {
    to { transform: rotate(360deg); }
}

/* Settings Tab Redesign */
.speedygo-telemetry-tab-redesign {
    font-family: 'Poppins', sans-serif !important;
    color: #4b5563 !important;
    max-width: 900px !important;
    padding: 20px 0 !important;
}

.speedygo-redesign-header {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.2 !important;
}

.speedygo-redesign-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.speedygo-redesign-list li {
    font-size: 15px !important;
    margin-bottom: 8px !important;
    padding-left: 20px !important;
    position: relative !important;
}

.speedygo-redesign-list li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #4f46e5 !important;
    font-weight: bold !important;
}

.speedygo-redesign-disclaimer {
    font-size: 14px !important;
    margin-bottom: 30px !important;
    color: #6b7280 !important;
}

.speedygo-redesign-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 20px !important;
}

.speedygo-redesign-card {
    border: 2px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 24px !important;
    display: flex !important;
    gap: 16px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #ffffff !important;
    text-decoration: none !important;
    color: inherit !important;
    align-items: flex-start !important;
}

.speedygo-redesign-card:hover {
    border-color: #4f46e5 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.12) !important;
}

.speedygo-redesign-card.active {
    border-color: #6366f1 !important;
    background: #fdfdff !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important;
    border-width: 2px !important;
}

.speedygo-card-radio {
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin-top: 3px !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

.speedygo-redesign-card.active .speedygo-card-radio {
    border-color: #6366f1 !important;
    background: #fff !important;
}

.speedygo-card-radio::after {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    background: #6366f1 !important;
    border-radius: 50% !important;
    transform: scale(0) !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.speedygo-redesign-card.active .speedygo-card-radio::after {
    transform: scale(1) !important;
}

.speedygo-card-content {
    flex: 1 !important;
}

.speedygo-card-content h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
}

.speedygo-card-subtitle {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    margin-bottom: 12px !important;
    display: block !important;
    line-height: 1.4 !important;
}

.speedygo-card-description {
    font-size: 13px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    display: block !important;
}
