/* ==========================================================================
   SECTIONS - Page Sections (Breaking News, Footer, Forms)
   ========================================================================== */

/* Breaking News Ticker */
.breaking-news {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
}

.breaking-news-content {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-label {
    background: var(--white);
    color: var(--primary-color);
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-right: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.news-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-ticker {
    display: flex;
    animation: scroll 25s linear infinite;
    will-change: transform;
}

.news-ticker span {
    margin-right: 50px;
    white-space: nowrap;
    padding-right: 50px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-base);
    margin-left: 0;
    margin-right: 15px;
}

.footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #d62839;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Registration Form Styles */
.register-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 400px);
}

.register-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.register-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: " *";
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-control.error {
    border-color: var(--error-color);
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 5px;
    display: block;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.form-check-input {
    margin-top: 4px;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.error-message {
    background: var(--error-bg);
    border-left: 4px solid var(--error-color);
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: var(--error-color);
    font-size: 0.95rem;
}

.error-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-list li {
    margin-bottom: 5px;
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-register:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 1rem;
    color: var(--text-light);
}

.login-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.password-requirements {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.875rem;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.password-requirements li {
    color: var(--text-light);
    margin-bottom: 5px;
}

/* Form grid for name fields */
.form-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}