/* Deactivation Modal Overlay */
.speedygo-deactivate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: speedygoFadeIn 0.2s ease;
}

@keyframes speedygoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.speedygo-deactivate-container {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    animation: speedygoSlideUp 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

@keyframes speedygoSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal Header */
.speedygo-deactivate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f1;
}

.speedygo-deactivate-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
}

.speedygo-deactivate-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #646970;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.speedygo-deactivate-close:hover {
    color: #dc3232;
}

/* Modal Body */
.speedygo-deactivate-body {
    padding: 24px;
}

/* Reasons Grid */
.speedygo-deactivate-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.speedygo-deactivate-reason {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #f0f0f1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.speedygo-deactivate-reason:hover {
    border-color: #2271b1;
    background: #f6f7f7;
}

.speedygo-deactivate-reason input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.speedygo-deactivate-reason.is-selected {
    border-color: #2271b1;
    background: #f0f6fc;
}

.speedygo-deactivate-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    border-radius: 6px;
    margin-right: 12px;
    font-size: 18px;
    color: #50575e;
}

.speedygo-deactivate-reason.is-selected .speedygo-deactivate-icon {
    background: #2271b1;
    color: #fff;
}

.speedygo-deactivate-text {
    font-size: 14px;
    color: #1d2327;
    font-weight: 500;
}

/* Details Section */
.speedygo-deactivate-details {
    margin-bottom: 24px;
}

.speedygo-deactivate-details textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    transition: border-color 0.2s;
}

.speedygo-deactivate-details textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Contact Section */
.speedygo-deactivate-contact {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.speedygo-deactivate-contact p {
    font-size: 13px;
    line-height: 1.5;
    color: #50575e;
    margin: 0 0 12px 0;
}

.speedygo-deactivate-contact a {
    color: #2271b1;
    text-decoration: none;
}

.speedygo-deactivate-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #1d2327;
}

.speedygo-deactivate-checkbox input {
    margin-top: 3px;
    margin-right: 10px;
}

/* Modal Footer */
.speedygo-deactivate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f1;
    background: #fcfcfc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.speedygo-deactivate-skip {
    color: #a7aaad;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.speedygo-deactivate-skip:hover {
    color: #646970;
}

.speedygo-deactivate-submit {
    padding: 10px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.speedygo-deactivate-submit:hover:not(:disabled) {
    background: #135e96;
}

.speedygo-deactivate-submit:disabled {
    background: #dcdcde;
    color: #a7aaad;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .speedygo-deactivate-reasons {
        grid-template-columns: 1fr;
    }
}
