.support-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.support-box__title {
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: #2f3e46;
}

.support-box__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-box__description {
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
}

.support-box__actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.support-box__support-button,
.support-box__toggle {
    border-radius: 8px;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.support-box__support-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

.support-box__support-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(32, 201, 151, 0.35);
}

.support-box__support-button:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(32, 201, 151, 0.35);
}

.support-box__toggle {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #2f3e46;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
}

.support-box__toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.3);
}

.support-box__toggle:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}

.support-box__status {
    margin-top: 6px;
    padding: 12px 14px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0c5460;
}

.support-box__panel {
    margin-top: 10px;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 2px rgba(15, 34, 58, 0.05);
}

.support-box__panel-title {
    margin: 0 0 12px;
    color: #2f3e46;
    font-size: 1.05rem;
}

.support-box__panel-content {
    display: grid;
    gap: 16px;
}

.support-box__section {
    padding: 12px;
    border-radius: 10px;
    background: rgba(248, 249, 250, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.support-box__section h5 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #2f3e46;
}

.support-box__section p {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: #495057;
}

.support-box__note {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: #dc3545;
}

.support-box__section form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.support-box__section input[type="email"] {
    flex: 1 1 auto;
    min-width: 200px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(47, 62, 70, 0.2);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-box__section input[type="email"]:focus {
    border-color: #117a8b;
    box-shadow: 0 0 0 3px rgba(17, 122, 139, 0.15);
    outline: none;
}

.support-box__section input[type="email"].is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.support-box__section button {
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #17a2b8, #117a8b);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 auto;
    min-width: 140px;
}

.support-box__section button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(23, 162, 184, 0.25);
}

.support-box__section button:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(23, 162, 184, 0.35);
}

.support-box__section[data-section="paid-plan"] button {
    background: linear-gradient(135deg, #6f42c1, #845ef7);
}

.support-box__section[data-section="paid-plan"] button:hover {
    box-shadow: 0 6px 14px rgba(132, 94, 247, 0.25);
}

.support-box__message {
    margin: -4px 0 0;
    font-size: 0.9rem;
    padding: 12px 14px;
    border-radius: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.support-box__message[hidden] {
    display: none;
}

.support-box__message:not([hidden]) {
    display: flex;
}

.support-box__message[data-type="success"] {
    background: rgba(40, 167, 69, 0.12);
    color: #155724;
}

.support-box__message[data-type="error"] {
    background: rgba(220, 53, 69, 0.12);
    color: #721c24;
}

.support-box__message[data-type="info"] {
    background: rgba(17, 122, 139, 0.12);
    color: #0c5460;
}

@media (max-width: 768px) {
    .support-box {
        padding: 18px 16px;
        gap: 14px;
    }

    .support-box__title {
        font-size: 1.1rem;
    }

    .support-box__description {
        font-size: 0.95rem;
    }

    .support-box__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-box__panel {
        padding: 16px;
    }

    .support-box__panel-content {
        gap: 18px;
    }

    .support-box__section form {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .support-box__section input[type="email"] {
        flex: 1 1 auto;
        min-width: 180px;
        width: auto;
    }

    .support-box__section button {
        flex: 0 0 auto;
        width: auto;
        min-width: 120px;
    }

    .support-box__message {
        font-size: 0.95rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .support-box__section form {
        flex-direction: column;
        align-items: stretch;
    }

    .support-box__section input[type="email"] {
        flex: none;
        width: 100%;
        min-width: auto;
    }

    .support-box__section button {
        flex: none;
        width: 100%;
        min-width: auto;
    }
}

/* OTP Styles */
.support-box__otp-description {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: #495057;
}

.support-box__otp-timing {
    margin: 0 0 12px;
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.support-box__otp-sent {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 500;
}

.support-box__otp-input-container {
    margin: 0 0 12px;
    display: flex;
    justify-content: center;
}

.support-box__otp-input {
    width: 120px;
    padding: 12px 8px;
    border-radius: 8px;
    border: 2px solid rgba(47, 62, 70, 0.2);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.support-box__otp-input:focus {
    border-color: #117a8b;
    box-shadow: 0 0 0 3px rgba(17, 122, 139, 0.15);
    outline: none;
}

.support-box__otp-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.support-box__otp-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-box__otp-buttons button {
    min-width: 120px;
}
