/* Inherit variables from style.css */

.page-container {
    margin: 60px auto 50px;
    width: 90%;
    max-width: 1000px;
    background: rgba(45, 50, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-lime);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Typography for generic content */
.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-content h2,
.page-content h3 {
    color: var(--primary-lime);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-weight: 600;
    color: var(--primary-lime);
}

.contact-form input,
.contact-form textarea {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-lime);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* User Details */
.user-profile {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-sidebar {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--primary-lime);
    object-fit: cover;
}

.profile-main {
    flex: 2;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    font-size: 0.9rem;
    color: var(--primary-lime);
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-header i {
    color: var(--primary-lime);
    transition: transform 0.3s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    opacity: 0;
}

.faq-item.active .faq-content {
    padding: 20px;
    padding-top: 0;
    opacity: 1;
    /* content max-height will be set by JS */
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 40px 20px;
    }

    .user-profile {
        flex-direction: column;
    }

    .profile-sidebar,
    .profile-main {
        width: 100%;
    }
}