/**
 * Notification Post Type Styles
 * Newsletter-optimized CSS for notifications
 *
 * @package Biz_Theme_BBA
 */

/* ==========================================================================
   Base Newsletter Styles
   ========================================================================== */

.notification-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #f8f9fa;
    padding: 40px 0;
    min-height: 100vh;
}

/* ==========================================================================
   Single Notification Template Styles
   ========================================================================== */

.notification-container {
    max-width: 1140px;
    margin: 0 auto;
    background: #ffffff;
    overflow: hidden;
}

.notification-header {
    padding: 40px;
    text-align: center;
}

.notification-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.notification-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.notification-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.notification-content {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.notification-content h1,
.notification-content h2,
.notification-content h3,
.notification-content h4,
.notification-content h5,
.notification-content h6 {
    color: #003d7a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.notification-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.notification-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.notification-content h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 12px;
}

.notification-content h4 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.notification-content p {
    margin-bottom: 20px;
}

.notification-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.notification-content em {
    font-style: italic;
}

.notification-content blockquote {
    border-left: 4px solid #003d7a;
    padding: 20px 20px 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555555;
    border-radius: 0 4px 4px 0;
}

.notification-content blockquote p:last-child {
    margin-bottom: 0;
}

.notification-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-content figure {
    margin: 30px 0;
    text-align: center;
}

.notification-content figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #666666;
    font-style: italic;
}

.notification-content a {
    color: #0056b3;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.notification-content a:hover {
    color: #003d7a;
}

.notification-content a:visited {
    color: #663399;
}

.notification-content ul,
.notification-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.notification-content ul li,
.notification-content ol li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.notification-content ul ul,
.notification-content ol ol,
.notification-content ul ol,
.notification-content ol ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.notification-cta {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.notification-cta .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #003d7a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.notification-cta .btn:hover {
    background: #0056b3;
}

.notification-share {
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.notification-share h4 {
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.share-button:hover {
    background: #003d7a;
    color: white;
    transform: translateY(-2px);
}

.notification-footer {
    background: #003d7a;
    color: white;
    padding: 40px;
    text-align: center;
}


.notification-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.notification-nav a {
    color: #0056b3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-nav a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Archive Notification Template Styles  
   ========================================================================== */

.notification-archive-wrapper {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 100vh;
}

.notification-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.notification-archive-header h1 {
    color: #003d7a;
    font-size: 42px;
    margin-bottom: 15px;
}

.notification-archive-header p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.notification-filters {
    background: white;
    padding: 20px;
    margin-bottom: 40px;
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.filter-item input,
.filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-button {
    padding: 10px 30px;
    background: #003d7a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.filter-button:hover {
    background: #0056b3;
}

.button-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.clear-button {
    padding: 10px 30px;
    background: transparent;
    color: #003d7a;
    border: 2px solid #003d7a;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.clear-button:hover {
    background: #003d7a;
    color: white;
}

.notification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.notification-card {
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notification-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
}

.notification-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notification-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.notification-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-card-title {
    font-size: 22px;
    color: #003d7a;
    margin-bottom: 15px;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.notification-card-title:hover {
    color: #0056b3;
}

.notification-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.notification-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.notification-card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.notification-tag {
    padding: 5px 10px;
    background: #e9ecef;
    color: #666;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
}

.notification-tag:hover {
    background: #003d7a;
    color: white;
}

.notification-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.notification-read-more:hover {
    color: #003d7a;
}

.notification-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

/* Support both direct and nested pagination structures */
.notification-pagination a,
.notification-pagination span,
.notification-pagination .page-numbers {
    padding: 10px 15px;
    background: white;
    color: #003d7a;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    display: inline-block;
}

.notification-pagination a:hover,
.notification-pagination .page-numbers:hover {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
}

.notification-pagination .current,
.notification-pagination .page-numbers.current {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
}

/* Ensure list-style pagination works too */
.notification-pagination ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    justify-content: center;
}

.notification-pagination li {
    margin: 0;
}

.notification-pagination ul li a,
.notification-pagination ul li span {
    padding: 10px 15px;
    background: white;
    color: #003d7a;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    display: block;
}

.notification-pagination ul li a:hover {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
}

.notification-pagination ul li .current {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
}

.no-notifications {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    margin-bottom: 50px;
}

/* Ensure no-notifications spans full width when inside grid container */
.notification-grid .no-notifications {
    grid-column: 1 / -1; /* Span all columns */
}

.no-notifications h2 {
    color: #333;
    margin-bottom: 15px;
}

.no-notifications p {
    color: #666;
    font-size: 16px;
}

/* ==========================================================================
   Content Template Styles
   ========================================================================== */

.notification-article {
    margin-bottom: 40px;
}

.notification-article-header {
    margin-bottom: 30px;
}

.notification-article-title {
    color: #003d7a;
    margin-bottom: 15px;
}

.notification-article-title a {
    color: inherit;
    text-decoration: none;
}

.notification-article-title a:hover {
    color: #0056b3;
}

.notification-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.notification-article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-article-thumbnail {
    margin-bottom: 30px;
}

.notification-article-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.notification-image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
    text-align: center;
}

.notification-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.notification-article-content h2,
.notification-article-content h3,
.notification-article-content h4 {
    color: #003d7a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.notification-article-content p {
    margin-bottom: 20px;
}

.notification-article-content blockquote {
    border-left: 4px solid #003d7a;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.notification-article-content ul,
.notification-article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.notification-article-content li {
    margin-bottom: 10px;
}

.notification-excerpt {
    margin-bottom: 20px;
}

.notification-continue-reading {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.notification-continue-reading:hover {
    color: #003d7a;
}

.notification-article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.notification-article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.notification-tag-link {
    padding: 5px 12px;
    background: #e9ecef;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.notification-tag-link:hover {
    background: #003d7a;
    color: white;
}

.notification-newsletter-info {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #666;
}

.notification-article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #003d7a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.notification-read-more-btn:hover {
    background: #0056b3;
}

.notification-share-quick {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-share-quick a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e9ecef;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.notification-share-quick a:hover {
    background: #003d7a;
    color: white;
    transform: translateY(-2px);
}

.notification-page-links {
    margin-top: 30px;
    text-align: center;
}

.notification-page-links span {
    padding: 5px 10px;
    margin: 0 5px;
}

/* ==========================================================================
   Shared Components
   ========================================================================== */

.notification-callout {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.notification-callout.warning {
    background: #fff3e0;
    border-color: #ffb74d;
}

.notification-callout.success {
    background: #e8f5e9;
    border-color: #81c784;
}

.notification-callout.danger {
    background: #ffebee;
    border-color: #e57373;
}

.notification-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.notification-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.notification-button {
    display: inline-block;
    padding: 12px 30px;
    background: #003d7a;
    color: white !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.notification-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.notification-button.secondary {
    background: #6c757d;
}

.notification-button.secondary:hover {
    background: #5a6268;
}

.notification-button.outline {
    background: transparent;
    color: #003d7a !important;
    border: 2px solid #003d7a;
}

.notification-button.outline:hover {
    background: #003d7a;
    color: white !important;
}

.notification-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e9ecef, transparent);
    margin: 40px 0;
    border: none;
}

.notification-spacer {
    height: 30px;
}

.notification-spacer.small {
    height: 15px;
}

.notification-spacer.large {
    height: 50px;
}

.notification-highlight {
    background: #fff9c4;
    padding: 2px 6px;
    border-radius: 3px;
}

.notification-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #003d7a;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-stat {
    text-align: center;
    margin: 30px 0;
}

.notification-stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #003d7a;
    line-height: 1;
}

.notification-stat-label {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ==========================================================================
   Tables
   ========================================================================== */

.notification-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.notification-content table th {
    background: #003d7a;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.notification-content table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.notification-content table tr:last-child td {
    border-bottom: none;
}

.notification-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .notification-content {
        padding: 20px;
    }
    
    .notification-content h1 {
        font-size: 28px;
    }
    
    .notification-content h2 {
        font-size: 24px;
    }
    
    .notification-content h3 {
        font-size: 20px;
    }
    
    .notification-content h4 {
        font-size: 16px;
    }
    
    .notification-content p {
        font-size: 15px;
    }
    
    .notification-content table {
        font-size: 14px;
    }
    
    .notification-content table th,
    .notification-content table td {
        padding: 8px;
    }
    
    .notification-header {
        padding: 30px 20px;
    }
    
    .notification-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    
    .notification-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .notification-archive-header h1 {
        font-size: 32px;
    }
    
    .notification-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-item {
        width: 100%;
    }
    
    .notification-button {
        display: block;
        text-align: center;
    }
    
    .notification-gallery {
        grid-template-columns: 1fr;
    }
    
    .notification-article-meta {
        font-size: 13px;
    }
    
    .notification-article-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .notification-newsletter-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .notification-content {
        padding: 15px;
    }
    
    .notification-content ul,
    .notification-content ol {
        padding-left: 20px;
    }
    
    .notification-stat-number {
        font-size: 36px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .notification-wrapper {
        font-size: 12pt;
    }
    
    .notification-content a {
        color: #000000;
        text-decoration: underline;
    }
    
    .notification-content a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
    
    .notification-button {
        border: 1px solid #000000;
        color: #000000 !important;
        background: transparent;
    }
    
    .notification-share,
    .notification-nav {
        display: none !important;
    }
    
    .notification-content img {
        box-shadow: none;
    }
    
    .notification-content blockquote {
        border-left-width: 2px;
        background: transparent;
    }
    
    .notification-callout {
        border: 1px solid #000000;
        background: transparent;
    }
    
    .notification-content table {
        box-shadow: none;
        border: 1px solid #000000;
    }
    
    .notification-content table th {
        background: #f0f0f0;
        color: #000000;
    }
    
    .notification-container {
        box-shadow: none;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.notification-content *:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.notification-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #003d7a;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.notification-skip-link:focus {
    top: 0;
}

.notification-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-animate-fadein {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.notification-animate-pulse {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   Notifications Page Template Styles (page-notifications.php)
   ========================================================================== */

.notifications-page-wrapper {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 100vh;
}

.notifications-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.notifications-page-header h1 {
    color: #003d7a;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.notifications-page-header p {
    color: #666;
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Minimalistic Grid Layout */
.notifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Minimalistic Card Design */
.notification-simple-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.notification-simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.notification-simple-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f8f9fa;
}

.notification-simple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.notification-simple-card:hover .notification-simple-image img {
    transform: scale(1.05);
}

.notification-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-placeholder-image::before {
    content: "📢";
    font-size: 48px;
    opacity: 0.7;
}

/* Card Content */
.notification-simple-content {
    padding: 28px;
}

.notification-simple-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.notification-simple-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.notification-simple-title a:hover {
    color: #003d7a;
}

.notification-simple-date {
    color: #8e8e93;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-simple-summary {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Pagination */
.notifications-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.notifications-pagination a,
.notifications-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.notifications-pagination a:hover {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
    transform: translateY(-1px);
}

.notifications-pagination .current {
    background: #003d7a;
    color: white;
    border-color: #003d7a;
}

.notifications-pagination .dots {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: default;
}

.notifications-pagination .dots:hover {
    background: transparent;
    transform: none;
}

/* No Notifications State */
.no-notifications-found {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.no-notifications-found h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

.no-notifications-found p {
    color: #666;
    font-size: 18px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .notifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .notifications-page-header h1 {
        font-size: 40px;
    }
    
    .notifications-page-header p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .notifications-page-wrapper {
        padding: 40px 0;
    }
    
    .notifications-page-header {
        margin-bottom: 40px;
    }
    
    .notifications-page-header h1 {
        font-size: 32px;
    }
    
    .notifications-page-header p {
        font-size: 16px;
    }
    
    .notifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .notification-simple-image {
        height: 200px;
    }
    
    .notification-simple-content {
        padding: 20px;
    }
    
    .notification-simple-title {
        font-size: 18px;
    }
    
    .notifications-pagination {
        margin-top: 40px;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .notifications-pagination a,
    .notifications-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .notifications-page-wrapper {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .notification-simple-content {
        padding: 16px;
    }
    
    .notifications-page-header h1 {
        font-size: 28px;
    }
}

/* ==========================================================================
   AJAX Loading States and Transitions
   ========================================================================== */

/* Loading overlay */
.notification-grid {
    position: relative;
    transition: opacity 0.3s ease;
}

.notification-grid.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    min-height: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #003d7a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-overlay p {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error states */
.notification-error {
    text-align: center;
    padding: 60px 20px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 8px;
    margin: 20px 0;
}

.notification-error h2 {
    color: #e53e3e;
    margin-bottom: 10px;
    font-size: 24px;
}

.notification-error p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Smooth transitions for content updates */
.notification-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-5px);
}

/* Pagination AJAX updates */
.notification-pagination {
    transition: opacity 0.3s ease;
}

.notification-pagination.updating {
    opacity: 0.5;
}

/* Filter form enhancements */
.notification-filters form {
    transition: opacity 0.3s ease;
}

.notification-filters form.submitting {
    opacity: 0.7;
    pointer-events: none;
}

/* Fade in animation for new content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-card {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive loading states */
@media (max-width: 768px) {
    .loading-overlay {
        min-height: 200px;
    }

    .loading-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }

    .loading-overlay p {
        font-size: 14px;
    }
}

/* ==========================================================================
   Like Button Styles
   ========================================================================== */

/* Base like button styles */
.notification-like-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.notification-like-btn:hover {
    background: #f5f5f5;
    border-color: #003d7c;
    color: #003d7c;
}

.notification-like-btn.liked {
    color: #e74c3c;
    border-color: #e74c3c;
    background: #fff5f5;
}

.notification-like-btn.liked:hover {
    background: #ffe5e5;
}

.notification-like-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.notification-like-btn.liked i {
    color: #e74c3c;
}

.notification-like-btn .like-count {
    font-weight: 600;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

.notification-like-btn.processing {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Pulse animation on like */
.notification-like-btn.pulse {
    animation: likePulse 0.3s ease;
}

@keyframes likePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Single notification page like button */
.notification-single-actions {
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-like-btn-single {
    padding: 12px 24px;
    font-size: 16px;
}

.notification-like-btn-single i {
    font-size: 18px;
}

.notification-like-btn-single .like-text {
    font-weight: 600;
}

/* Card actions container */
.notification-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-single-actions {
        padding: 20px;
    }

    .notification-like-btn-single {
        padding: 10px 20px;
        font-size: 15px;
    }

    .notification-card-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .notification-like-btn {
        width: auto;
    }
}

@media (max-width: 480px) {
    .notification-like-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .notification-like-btn i {
        font-size: 14px;
    }
}