/* Web Application Page Specific Styles */

/* Security Dashboard */
.security-dashboard {
    background: rgba(20, 25, 35, 0.95);
    border-radius: 20px;
    padding: 1rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid #ffffff26;
    margin: 2rem auto;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.status-indicator.active {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 20px;
    color: #2ecc71;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-indicator.active i {
    font-size: 0.5rem;
    animation: blink 1.5s infinite;
    filter: drop-shadow(0 0 2px rgba(46, 204, 113, 0.5));
}

@keyframes blink {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 0.8rem;
    width: 100%;
    padding: 0.3rem 0.3rem;
    justify-content: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 120px;
    margin: 0 auto;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.metric-icon {
    width: 30px;
    height: 30px;
    background: rgba(168, 178, 209, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.metric-icon i {
    font-size: 1rem;
    color: #a8b2d1;
}

.metric-info h4 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    width: 100%;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.2rem;
    line-height: 1;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FAQ Section */
.faq-section {
    padding: 10rem 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.98), rgba(10, 15, 25, 0.95));
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.faq-group {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.faq-group:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.faq-group h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question span {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    padding-right: 3rem;
    line-height: 1.4;
}

.faq-question i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.03);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.8);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
    padding: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .security-dashboard {
        width: 95%;
        max-width: 800px;
        padding: 2rem 2.5rem;
    }
    
    .dashboard-content {
        gap: 1.5rem;
    }

    .faq-group {
        padding: 2rem;
    }

    .faq-group h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .security-dashboard {
        width: 90%;
        padding: 2rem;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-card {
        min-height: 180px;
    }

    .faq-group {
        padding: 1.5rem;
    }

    .faq-group h3 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.5rem;
    }

    .faq-question span {
        font-size: 1rem;
        padding-right: 2rem;
    }

    .faq-answer p {
        padding: 1.5rem;
        font-size: 1rem;
    }
} 