/*
 * Support Contact Section Styles
 * public/css/krypto-boersen-support-contact.css
 */

.support-contact-section {
    margin-top: 24px;
    margin-bottom: 32px;
}

.support-contact-toggle {
    background: #f9fafb;
    border: 1px solid var(--kb-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.support-contact-toggle:hover {
    background: #f3f4f6;
}

.support-toggle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.support-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.support-toggle-icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 0.7;
}

.support-toggle-text {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.4;
}

.support-toggle-arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.support-toggle-btn[aria-expanded="true"] .support-toggle-arrow {
    transform: rotate(180deg);
}

.support-contact-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.support-contact-toggle.active .support-contact-content {
    max-height: 500px;
}

.support-contact-inner {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--kb-border);
}

.support-contact-inner p {
    margin: 0 0 12px 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.875rem;
}

.support-contact-inner p:last-of-type {
    margin-bottom: 16px;
}

.support-email-box {
    background: #f9fafb;
    border: 1px solid var(--kb-border);
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
}

.support-email-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-email-link:hover {
    color: #374151;
}

.support-email-link .kb-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .support-toggle-btn {
        padding: 12px 16px;
        gap: 10px;
    }

    .support-toggle-icon {
        font-size: 1rem;
    }

    .support-toggle-text {
        font-size: 0.875rem;
    }

    .support-contact-inner {
        padding: 16px;
    }

    .support-contact-inner p {
        font-size: 0.8125rem;
        margin-bottom: 10px;
    }

    .support-email-box {
        padding: 10px 12px;
    }

    .support-email-link {
        font-size: 0.875rem;
    }

    .support-email-link::before {
        font-size: 0.9375rem;
    }
}

/* Extra kleine Screens */
@media (max-width: 480px) {
    .support-toggle-text {
        font-size: 0.8125rem;
    }

    .support-email-link {
        font-size: 0.8125rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Eigene Icons (kb-icons) statt Zeichen und Emojis in ::before/::after */
.support-email-link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--kbi-mail) center / contain no-repeat;
    opacity: 1;
    vertical-align: -4px;
}
