/* ============================================
   COPYRIGHT BADGES & ATTRIBUTION STYLES
   Visual indicators for content copyright status
   ============================================ */

/* ========== COPYRIGHT BADGES ========== */
.copyright-badge {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.copyright-badge i {
    margin-left: 6px;
}

/* Public Domain Badge */
.copyright-badge.copyright-public {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.copyright-badge.copyright-public:hover {
    background-color: #c8e6c9;
}

/* Creative Commons Badge */
.copyright-badge.copyright-cc {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ff9800;
}

.copyright-badge.copyright-cc:hover {
    background-color: #ffe0b2;
}

/* Fair Use Badge */
.copyright-badge.copyright-fair-use {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #2196f3;
}

.copyright-badge.copyright-fair-use:hover {
    background-color: #bbdefb;
}

/* All Rights Reserved Badge */
.copyright-badge.copyright-reserved {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #e91e63;
}

.copyright-badge.copyright-reserved:hover {
    background-color: #f8bbd0;
}

/* User Contributed Badge */
.copyright-badge.copyright-contributed {
    background-color: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid: #9c27b0;
}

.copyright-badge.copyright-contributed:hover {
    background-color: #e1bee7;
}

/* ========== ATTRIBUTION BLOCKS ========== */
.attribution-block {
    background-color: #f9f9f9;
    border-right: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.attribution-block p {
    margin: 8px 0;
    line-height: 1.6;
}

.attribution-block strong {
    color: var(--primary-color);
    font-weight: 600;
}

.attribution-block a {
    color: var(--accent-color);
    text-decoration: none;
}

.attribution-block a:hover {
    text-decoration: underline;
}

/* ========== LICENSE BADGE (Large) ========== */
.license-badge {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.license-badge i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.license-badge strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.license-badge p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ========== ATTRIBUTION EXAMPLES ========== */
.attribution-examples {
    margin-top: 30px;
}

.example-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.example-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ========== BADGE EXAMPLES CONTAINER ========== */
.badge-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* ========== COPYRIGHT NOTICE BOXES ========== */
.copyright-disclaimer {
    background-color: #fff8e1;
    border-right: 4px solid #ffa726;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.copyright-disclaimer p {
    margin: 10px 0;
    line-height: 1.8;
}

.copyright-disclaimer i {
    color: #f57c00;
    margin-left: 8px;
}

/* ========== FAIR USE NOTICE BOX ========== */
.fair-use-notice {
    background-color: #e3f2fd;
    border: 2px dashed #2196f3;
    border-radius: 6px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.fair-use-notice h4 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.fair-use-notice p {
    color: #424242;
    line-height: 1.8;
    margin: 10px 0;
}

.fair-use-notice ul {
    text-align: right;
    list-style-position: inside;
    color: #424242;
}

/* ========== COPYRIGHT POLICY PAGE SPECIFIC ========== */
.page-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 40px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .page-subtitle {
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.content-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 20px 0 15px 0;
}

.content-section h4 {
    color: #424242;
    font-size: 1.1rem;
    margin: 15px 0 10px 0;
}

/* ========== PROCEDURE STEPS ========== */
.procedure-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-right: 0;
}

.procedure-steps > li {
    counter-increment: step-counter;
    position: relative;
    padding-right: 50px;
    margin-bottom: 30px;
}

.procedure-steps > li::before {
    content: counter(step-counter);
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.procedure-steps > li strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.procedure-steps ul {
    margin-top: 10px;
    padding-right: 20px;
}

/* ========== CONTACT BOX ========== */
.contact-box {
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.contact-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-box p {
    margin: 10px 0;
}

.contact-box a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ========== LEGAL REFERENCES ========== */
.legal-references {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 25px;
}

.legal-references h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.legal-references ul {
    list-style: none;
    padding-right: 0;
}

.legal-references > ul > li {
    margin-bottom: 20px;
    padding-right: 20px;
    border-right: 3px solid var(--accent-color);
}

.legal-references strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.legal-references ul ul {
    margin-top: 10px;
    padding-right: 20px;
    list-style: disc;
}

/* ========== CONTACT INFO BOX ========== */
.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-left: 15px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ========== LAST UPDATED ========== */
.last-updated {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 2px solid #e0e0e0;
    color: #999;
    font-size: 0.9rem;
}

.last-updated i {
    margin-left: 8px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0a4d2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 94, 58, 0.3);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #b8932e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ========== BADGES INFO ========== */
.badges-info {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 25px;
    margin-top: 20px;
}

.badges-info p {
    margin-bottom: 20px;
    color: #424242;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .badge-examples {
        flex-direction: column;
    }
    
    .copyright-badge {
        display: block;
        text-align: center;
    }
    
    .contact-info-box {
        grid-template-columns: 1fr;
    }
    
    .procedure-steps > li {
        padding-right: 50px;
    }
    
    .license-badge {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 20px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .content-section {
        margin-bottom: 30px;
    }
    
    .example-box {
        padding: 15px;
    }
}

/* ========== CONTRIBUTOR AGREEMENT STYLES ========== */
.agreement-box {
    background-color: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.agreement-box h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.agreement-section {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-right: 4px solid var(--accent-color);
    border-radius: 4px;
}

.agreement-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.agreement-section p {
    line-height: 1.8;
    margin: 10px 0;
}

.agreement-section ul {
    margin-top: 15px;
    padding-right: 20px;
}

.agreement-section li {
    margin: 10px 0;
    line-height: 1.6;
}

.agreement-section i.fa-check {
    color: #27ae60;
    margin-left: 8px;
}

/* Form Fields */
.form-field {
    margin: 20px 0;
}

.form-field label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Checkboxes */
.agreement-acceptance {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.checkbox-group {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
}

.checkbox-input {
    margin-left: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    line-height: 1.6;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive for Agreement */
@media (max-width: 768px) {
    .agreement-box {
        padding: 20px;
    }
    
    .agreement-section {
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .copyright-badge {
        border: 1px solid #000;
        background-color: transparent !important;
    }
    
    .attribution-block {
        border: 1px solid #000;
    }
    
    .btn {
        display: none;
    }
    
    .mobile-menu-toggle,
    .mobile-nav-drawer,
    .scroll-to-top {
        display: none;
    }
}
