/* agb-styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f2f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    background-color: #1877f2;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.back-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background-color: white;
    color: #1877f2;
}

.back-arrow {
    font-size: 1.2rem;
}

/* Content Styles */
.content {
    padding: 40px 30px;
}

.document h1 {
    color: #1877f2;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #1877f2;
    padding-bottom: 15px;
}

.meta-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #1877f2;
}

.meta-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.notice p {
    color: #856404;
    font-weight: 500;
}

/* Section Styles */
section {
    margin-bottom: 35px;
}

section h2 {
    color: #1877f2;
    font-size: 1.4rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

section p {
    margin-bottom: 12px;
    text-align: justify;
    line-height: 1.7;
}

section ul {
    margin: 15px 0;
    padding-left: 30px;
}

section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Links */
a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* Version Info */
.version-info {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.version-info h3 {
    color: #495057;
    margin-bottom: 10px;
}

.version-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .content {
        padding: 20px 15px;
    }

    .document h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.2rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    section ul {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px 10px;
    }

    .document h1 {
        font-size: 1.5rem;
    }

    .meta-info {
        padding: 15px;
    }

    section p {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer {
        display: none;
    }
    
    .container {
        box-shadow: none;
    }
    
    .content {
        padding: 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}