/**
 * ITAR Compliance Training - Verification Page Styles
 */

:root {
    --primary-color: #003366;
    --secondary-color: #0066b2;
    --accent-color: #cc0000;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --light-bg: #f5f7fa;
    --dark-text: #333333;
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.verify-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.verify-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.header-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.header-nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.verify-container {
    padding: 60px 0;
}

.verify-hero {
    text-align: center;
    margin-bottom: 50px;
}

.verify-hero i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.verify-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.verify-hero p {
    font-size: 1.2rem;
    color: #666;
}

/* Verify Card */
.verify-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.verify-card h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.verify-instructions {
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group label i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 178, 0.1);
}

.form-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.form-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.form-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-weight: bold;
}

.btn-verify {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-verify:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

/* Result Cards */
.result-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.result-card.valid {
    border-top: 5px solid var(--success-color);
}

.result-card.invalid {
    border-top: 5px solid var(--error-color);
}

.result-header {
    padding: 30px;
    text-align: center;
}

.result-card.valid .result-header {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.result-card.invalid .result-header {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.result-header i {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.result-card.valid .result-header i {
    color: var(--success-color);
}

.result-card.invalid .result-header i {
    color: var(--error-color);
}

.result-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.result-card.valid .result-header h2 {
    color: var(--success-color);
}

.result-card.invalid .result-header h2 {
    color: var(--error-color);
}

.result-details {
    padding: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #666;
}

.detail-value {
    color: var(--dark-text);
    font-weight: 500;
}

.cert-number {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: bold;
}

.result-footer {
    padding: 20px 30px;
    background: var(--light-bg);
    text-align: center;
    color: #666;
}

.result-footer i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.result-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Info Section */
.info-section {
    margin: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light-bg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question i {
    color: var(--secondary-color);
}

.faq-answer {
    padding: 20px;
    color: #666;
    line-height: 1.7;
}

/* Footer */
.verify-footer {
    background: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.verify-footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.verify-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .verify-hero h1 {
        font-size: 2rem;
    }

    .verify-card {
        padding: 25px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .result-details {
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
}