/* AWS Design Language System for Prezenty App */

/* Notification Bell Container - Fixed Top Right */
.notification-bell-container {
    position: relative;
    display: inline-block;
}

.notification-bell-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: white;
    font-size: 18px;
}

.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #FF5722, #F44336);
    color: white;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #F44336, #E91E63);
}

.notification-dropdown-header h6 {
    margin: 0;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.notification-dropdown-header .btn-link {
    color: white;
    font-size: 12px;
    padding: 0;
    text-decoration: none;
}

.notification-dropdown-header .btn-link:hover {
    text-decoration: underline;
}

.notification-dropdown-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-dropdown-footer {
    padding: 12px 20px;
    border-top: 1px solid #E0E0E0;
    text-align: center;
}

.notification-dropdown-footer .btn-link {
    color: #2196F3;
    font-size: 14px;
    text-decoration: none;
}

.notification-dropdown-footer .btn-link:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification-bell-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .notification-dropdown {
        width: 320px;
        right: -20px;
    }
}

/* AWS Color Palette */
:root {
    /* Material Design Expressive Color Palette */
    --material-red: #F44336;
    --material-pink: #E91E63;
    --material-purple: #9C27B0;
    --material-deep-purple: #673AB7;
    --material-indigo: #3F51B5;
    --material-blue: #2196F3;
    --material-light-blue: #03A9F4;
    --material-cyan: #00BCD4;
    --material-teal: #009688;
    --material-green: #4CAF50;
    --material-light-green: #8BC34A;
    --material-lime: #CDDC39;
    --material-yellow: #FFEB3B;
    --material-amber: #FFC107;
    --material-orange: #FF9800;
    --material-deep-orange: #FF5722;
    
    /* Material Design Christmas Theme */
    --christmas-red: #F44336; /* Vibrant Material Red */
    --christmas-green: #4CAF50; /* Vibrant Material Green */
    --christmas-gold: #FFC107; /* Material Amber */
    --christmas-silver: #9E9E9E; /* Material Gray */
    --christmas-burgundy: #E91E63; /* Material Pink */
    --christmas-forest: #009688; /* Material Teal */
    --christmas-cream: #FFF8E1; /* Light Amber */
    --christmas-pine: #00695C; /* Dark Teal */
    
    /* AWS-Inspired Base Colors with Material Twist */
    --aws-orange: #FF9800; /* Material Orange */
    --aws-blue: #1976D2; /* Material Blue 700 */
    --aws-light-blue: #2196F3; /* Material Blue */
    --aws-dark-blue: #0D47A1; /* Material Blue 900 */
    
    /* Material Design Gray Scale - Accessibility Enhanced */
    --aws-gray-50: #FAFAFA;
    --aws-gray-100: #F5F5F5;
    --aws-gray-200: #EEEEEE;
    --aws-gray-300: #E0E0E0;
    --aws-gray-400: #BDBDBD;
    --aws-gray-500: #9E9E9E;
    --aws-gray-600: #666666; /* Darkened for better contrast */
    --aws-gray-700: #4A4A4A; /* Darkened for better contrast */
    --aws-gray-800: #333333; /* Darkened for better contrast */
    --aws-gray-900: #1A1A1A; /* Darkened for better contrast */
    
    /* Material Expressive Status Colors */
    --aws-success: #4CAF50; /* Material Green */
    --aws-warning: #FF9800; /* Material Orange */
    --aws-danger: #F44336; /* Material Red */
    --aws-info: #2196F3; /* Material Blue */
    
    /* Material Expressive Extended Palette */
    --aws-purple: #9C27B0; /* Material Purple */
    --aws-teal: #009688; /* Material Teal */
    --aws-indigo: #3F51B5; /* Material Indigo */
    --aws-pink: #E91E63; /* Material Pink */
    --aws-cyan: #00BCD4; /* Material Cyan */
    --aws-lime: #8BC34A; /* Material Light Green */
    --aws-amber: #FFC107; /* Material Amber */
    --aws-deep-orange: #FF5722; /* Material Deep Orange */
    --aws-brown: #795548; /* Material Brown */
    --aws-blue-gray: #607D8B; /* Material Blue Gray */
    
    /* AWS Spacing Scale */
    --aws-space-xs: 4px;
    --aws-space-sm: 8px;
    --aws-space-md: 16px;
    --aws-space-lg: 24px;
    --aws-space-xl: 32px;
    --aws-space-2xl: 48px;
    
    /* AWS Border Radius */
    --aws-radius-sm: 4px;
    --aws-radius-md: 8px;
    --aws-radius-lg: 12px;
    
    /* AWS Shadows */
    --aws-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --aws-shadow-md: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --aws-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    
    /* AWS Typography */
    --aws-font-family: 'Amazon Ember', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --aws-font-size-xs: 12px;
    --aws-font-size-sm: 14px;
    --aws-font-size-md: 16px;
    --aws-font-size-lg: 18px;
    --aws-font-size-xl: 20px;
    --aws-font-size-2xl: 24px;
    --aws-font-size-3xl: 32px;
}

/* Material Design Expressive Navigation Bar */
.recipients-page .navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)) !important;
    border-bottom: none;
    box-shadow: none;
    padding: var(--aws-space-md) 0;
}

.recipients-page .navbar-brand {
    color: white !important;
    font-weight: 600;
    font-size: var(--aws-font-size-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    width: 100%;
}

.recipients-page .navbar-brand:hover {
    color: white !important;
    text-decoration: none;
}

.recipients-page .brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--aws-space-sm);
}

.recipients-page .brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--material-red), var(--material-pink));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    padding: 4px;
    margin: 8px;
    cursor: pointer;
}

.recipients-page .brand-logo-container:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.recipients-page .brand-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.recipients-page .brand-text {
    display: flex;
    align-items: center;
    gap: var(--aws-space-sm);
}

.recipients-page .navbar-brand i {
    color: var(--material-amber);
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.4));
}

.recipients-page .btn-outline-danger {
    border: 2px solid var(--aws-danger);
    color: var(--aws-danger);
    background: transparent;
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.recipients-page .btn-outline-danger:hover {
    background: var(--aws-danger);
    color: white;
    transform: none;
    box-shadow: var(--aws-shadow-sm);
}

/* Ensure logout button is always visible */
.recipients-page .navbar-nav .btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    background: transparent !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.recipients-page .navbar-nav .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
    color: white !important;
    transform: none !important;
}

/* Navbar centering for all screen sizes */
.recipients-page .navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 15px;
}

.recipients-page .navbar-brand {
    margin-bottom: 12px;
    margin-right: 0;
}

.recipients-page .navbar-nav {
    margin: 0;
}

.recipients-page .navbar-nav .btn {
    font-size: 14px;
    padding: 8px 20px;
}

/* Mobile and tablet adjustments */
@media (max-width: 1199px) {
    .recipients-page .navbar .container {
        padding: 12px 15px;
    }
    
    .recipients-page .brand-logo-container {
        width: 100px;
        height: 100px;
        padding: 3px;
        margin: 6px;
    }
    
    .recipients-page .brand-logo {
        width: 80px;
        height: 80px;
    }
    
    .recipients-page .brand-text {
        font-size: var(--aws-font-size-md);
    }
    
    .recipients-page .navbar-nav .btn {
        font-size: 14px;
        padding: 6px 16px;
    }
    
    /* Profile name centering for mobile and tablet */
    .recipients-page .recipient-name {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .recipients-page .recipient-item .col-md-6 h5.recipient-name {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .recipients-page .recipient-item .col-md-6 center {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .recipients-page .recipient-item .col-md-6 center h5 {
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
    }
    
    .recipients-page .recipient-item .col-md-6 {
        text-align: center !important;
    }
    
    .recipients-page .recipient-item .col-md-6 .mb-2 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .recipients-page .change-picture-btn {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
        min-width: 110px;
        max-width: 160px;
    }
}

/* Improved Self Identification Modal Layout */
.recipients-page #selfIdentificationModal .modal-footer {
    padding: var(--aws-space-xl) var(--aws-space-lg);
    background: var(--aws-gray-50);
    border-top: 1px solid var(--aws-gray-200);
}

.recipients-page #selfIdentificationModal .modal-footer .btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--aws-radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recipients-page #selfIdentificationModal .modal-footer .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modal responsive layout */
@media (max-width: 1199px) {
    .recipients-page #selfIdentificationModal .modal-footer .btn-lg {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .recipients-page #selfIdentificationModal .modal-footer .d-flex {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .recipients-page #selfIdentificationModal .modal-footer .btn-lg {
        flex: 0 0 auto;
    }
}

/* Improved "To jestem ja" button styling */
.recipients-page .identify-btn {
    min-width: 140px;
    max-width: 200px;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: var(--aws-radius-md);
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--material-green), var(--material-light-green));
    border: 2px solid var(--material-green);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.recipients-page .identify-btn:hover {
    background: linear-gradient(135deg, var(--material-teal), var(--material-green));
    border-color: var(--material-teal);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 150, 136, 0.4);
}

.recipients-page .identify-btn-modal {
    min-width: 120px;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: var(--aws-radius-md);
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--material-green), var(--material-light-green));
    border: 2px solid var(--material-green);
    color: white;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}

.recipients-page .identify-btn-modal:hover {
    background: linear-gradient(135deg, var(--material-teal), var(--material-green));
    border-color: var(--material-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.4);
}

/* Button responsive adjustments */
@media (max-width: 1199px) {
    .recipients-page .identify-btn {
        min-width: 120px;
        max-width: 160px;
        font-size: 14px;
    }
    
    .recipients-page .identify-btn-modal {
        min-width: 100px;
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .recipients-page .identify-btn {
        min-width: 160px;
        max-width: 220px;
    }
}

/* Change Picture Button under profile picture */
.recipients-page .change-picture-btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--aws-radius-md);
    transition: all 0.2s ease;
    background: transparent;
    border: 2px solid var(--material-indigo);
    color: var(--material-indigo);
    font-weight: 500;
    min-width: 100px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recipients-page .change-picture-btn:hover {
    background: var(--material-indigo);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.recipients-page .change-picture-btn i {
    font-size: 11px;
}

/* Mobile change picture button - separate row below profile */
.recipients-page .change-picture-btn-mobile {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: var(--aws-radius-md);
    transition: all 0.2s ease;
    background: transparent;
    border: 2px solid var(--material-indigo);
    color: var(--material-indigo);
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.recipients-page .change-picture-btn-mobile:hover {
    background: var(--material-indigo);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.recipients-page .change-picture-btn-mobile i {
    font-size: 13px;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .recipients-page .change-picture-btn {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        margin-top: 8px;
        border-radius: var(--aws-radius-md);
    }
    
    .recipients-page .change-picture-btn i {
        font-size: 11px;
    }
    
    .recipients-page .col-md-2 {
        margin-bottom: 16px;
    }
    
    .recipients-page .change-picture-btn-mobile {
        margin-top: 12px;
    }
    
    /* Center present date on mobile */
    .recipients-page .present-item .text-muted {
        text-align: center !important;
    }
    
    .recipients-page .present-item .small {
        text-align: center !important;
        display: block;
        margin: 5px 0;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
    /* Optimized layout - profile 35%, presents 65% */
    .recipients-page .recipient-item .col-md-6:first-child,
    .recipients-page .recipient-item .col-lg-2 {
        flex: 0 0 35%;
        max-width: 35%;
    }
    
    .recipients-page .recipient-item .col-md-6:nth-child(2),
    .recipients-page .recipient-item .col-lg-4 {
        flex: 0 0 65%;
        max-width: 65%;
    }
    
    .recipients-page .recipient-item .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 15px;
        text-align: left !important;
    }
    
    .recipients-page .recipient-item {
        padding: 15px 20px;
    }
    
    /* Presents list optimization */
    .recipients-page .presents-list-container {
        width: 100%;
        margin-top: 15px;
    }
    
    .recipients-page .presents-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: none;
    }
    
    .recipients-page .present-item {
        width: 100%;
        margin-bottom: 8px;
        padding: 12px 16px;
    }
    
    .recipients-page .present-item .btn {
        min-width: 40px;
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Desktop: wider present items and full button text */
    @media (min-width: 768px) {
        .recipients-page .recipient-card {
            max-width: 1200px;
        }
        
        .recipients-page .present-item {
            max-width: 100%;
        }
        
        .recipients-page .present-item .btn {
            padding: 8px 16px;
            font-size: 14px;
            flex-shrink: 0;
        }
    }
    
    .recipients-page .present-item .btn-outline-danger {
        font-size: 12px;
        padding: 6px 10px;
        min-width: 90px;
    }
    
    .recipients-page .present-item .d-flex {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Desktop adjustments */
@media (min-width: 1200px) {
    .recipients-page .change-picture-btn {
        font-size: 13px;
        padding: 8px 14px;
        min-width: 120px;
        max-width: 160px;
    }
    
    /* Show profile name and progress in profile section on desktop */
    .recipients-page .recipient-name-in-profile {
        display: block !important;
        text-align: center;
        margin-top: 12px;
    }
    
    .recipients-page .recipient-name-in-profile h6 {
        font-size: 14px;
        font-weight: 600;
        color: var(--aws-gray-800);
        margin-bottom: 8px;
        text-align: center;
    }
    
    .recipients-page .recipient-name-in-profile .progress {
        margin: 4px auto 0;
        max-width: 120px;
    }
    
    .recipients-page .recipient-name-in-profile small {
        font-size: 11px;
        text-align: center;
        display: block;
    }
    
    /* Profile checkmark button styling - override all Bootstrap styles */
    .recipients-page .profile-check-btn {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        border-radius: 50% !important;
        border: 2px solid var(--material-green) !important;
        background: transparent !important;
        background-color: transparent !important;
        color: var(--material-green) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1 !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
        vertical-align: baseline !important;
        font-weight: normal !important;
        text-align: center !important;
        white-space: nowrap !important;
        user-select: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
    
    /* Profile check button inline with name */
    .recipients-page .profile-check-btn {
        margin-top: 8px !important;
        background: white !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    .recipients-page .profile-check-btn.identified {
        background: var(--material-green) !important;
        background-color: var(--material-green) !important;
        box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3) !important;
    }
    
    .recipients-page .profile-check-btn:hover {
        background: var(--material-green) !important;
        background-color: var(--material-green) !important;
        color: white !important;
        transform: scale(1.1) !important;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3) !important;
        border-color: var(--material-green) !important;
    }
    
    .recipients-page .profile-check-btn.identified {
        background: var(--material-green) !important;
        background-color: var(--material-green) !important;
        color: white !important;
        border-color: var(--material-green) !important;
    }
    
    .recipients-page .profile-check-btn.identified:hover {
        background: var(--material-teal) !important;
        background-color: var(--material-teal) !important;
        border-color: var(--material-teal) !important;
        color: white !important;
        transform: scale(1.1) !important;
        box-shadow: 0 2px 8px rgba(0, 150, 136, 0.3) !important;
    }
    
    .recipients-page .profile-check-btn:focus,
    .recipients-page .profile-check-btn:active,
    .recipients-page .profile-check-btn:focus-visible {
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3) !important;
        border-color: var(--material-green) !important;
    }
    
    .recipients-page .profile-name-with-check {
        gap: 8px;
    }
    
    .recipients-page .profile-name-with-check h6 {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    
    /* Ensure middle column content is left-aligned on desktop */
    .recipients-page .recipient-item .col-lg-6 {
        text-align: left !important;
    }
    
    .recipients-page .recipient-item .col-lg-6 .mb-2 {
        text-align: left !important;
    }
}

/* AWS Container Layout */
.recipients-page .container {
    max-width: 1200px;
    padding: var(--aws-space-lg);
}

/* AWS Action Cards */
.recipients-page .aws-action-section {
    margin-bottom: var(--aws-space-2xl);
}

.recipients-page .aws-action-card {
    background: white;
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-lg);
    box-shadow: var(--aws-shadow-sm);
    transition: all 0.2s ease;
    height: 180px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.recipients-page .aws-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--aws-orange);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.recipients-page .aws-action-card:hover {
    box-shadow: var(--aws-shadow-md);
    border-color: var(--aws-orange);
    transform: translateY(-4px);
}

.recipients-page .aws-action-card:hover::before {
    transform: scaleX(1);
}

.recipients-page .aws-action-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.recipients-page .aws-action-icon i {
    color: white;
    font-size: 20px;
    line-height: 1;
    display: block;
}

/* Material Design Expressive Action Cards - 3 Column Layout */
/* Card 1: Dodaj Prezent - GREEN */
.recipients-page .aws-action-section .col-lg-4:nth-child(1) .aws-action-icon {
    background: linear-gradient(135deg, var(--material-green), var(--material-light-green));
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.recipients-page .aws-action-section .col-lg-4:nth-child(1) .aws-action-card:hover .aws-action-icon {
    background: linear-gradient(135deg, var(--material-teal), var(--material-green));
    box-shadow: 0 12px 35px rgba(0, 150, 136, 0.5);
    transform: scale(1.15) rotate(5deg);
}

/* Card 2: Dodaj Osobę - BLUE */
.recipients-page .aws-action-section .col-lg-4:nth-child(2) .aws-action-icon {
    background: linear-gradient(135deg, var(--material-blue), var(--material-light-blue));
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.recipients-page .aws-action-section .col-lg-4:nth-child(2) .aws-action-card:hover .aws-action-icon {
    background: linear-gradient(135deg, var(--material-indigo), var(--material-blue));
    box-shadow: 0 12px 35px rgba(63, 81, 181, 0.5);
    transform: scale(1.15) rotate(-5deg);
}

/* Card 3: Zarezerwowane Prezenty - YELLOW */
.recipients-page .aws-action-section .col-lg-4:nth-child(3) .aws-action-icon {
    background: linear-gradient(135deg, var(--material-yellow), var(--material-amber));
    box-shadow: 0 8px 25px rgba(255, 235, 59, 0.4);
}

.recipients-page .aws-action-section .col-lg-4:nth-child(3) .aws-action-card:hover .aws-action-icon {
    background: linear-gradient(135deg, var(--material-amber), var(--material-orange));
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
    transform: scale(1.15) rotate(5deg);
}

/* Bookmark icon specific styling for reserved presents */
.recipients-page .aws-action-section .col-lg-4:nth-child(3) .aws-action-icon i.fa-bookmark {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}



.recipients-page .aws-action-title {
    color: var(--aws-gray-900);
    font-weight: 600;
    font-size: var(--aws-font-size-md);
    margin: 0;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.recipients-page .aws-action-description {
    color: var(--aws-gray-700) !important;
    font-size: var(--aws-font-size-sm);
    margin: 0;
    line-height: 1.4;
}

.recipients-page .main-card.compact-card .card-body {
    padding: var(--aws-space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 120px;
}

/* Specific height for action cards */
.recipients-page .aws-action-section .main-card.compact-card .card-body {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    overflow: hidden !important;
}

/* Ensure action cards have equal height and fixed width */
.recipients-page .aws-action-section .aws-action-card {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* Allow flex items to shrink below content size */
    overflow: hidden !important;
}

.recipients-page .aws-action-section .aws-action-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0; /* Prevent content from expanding container */
    box-sizing: border-box;
}

/* Action cards responsive adjustments */
.recipients-page .aws-action-section .col-lg-4 {
    margin-bottom: 1rem;
}

/* Force equal width distribution for action cards */
.recipients-page .aws-action-section {
    width: 100%;
    overflow: hidden;
}

.recipients-page .aws-action-section > .row > div {
    flex: 1 1 33.333% !important;
    max-width: 33.333% !important;
    width: 33.333% !important;
    min-width: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* Ensure cards stay in one row */
.recipients-page .aws-action-section .row {
    flex-direction: row !important;
}

.recipients-page .aws-action-section [class*="col-"] {
    flex-shrink: 0 !important;
}

/* Ensure equal width for action cards - Override Bootstrap grid */
.recipients-page .aws-action-section .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 -0.75rem;
    width: 100%;
    align-items: stretch !important;
}

.recipients-page .aws-action-section .col-lg-4,
.recipients-page .aws-action-section .col-md-4,
.recipients-page .aws-action-section .col-4 {
    flex: 1 1 33.333% !important;
    max-width: 33.333% !important;
    min-width: 0;
    padding: 0 0.75rem;
    width: 33.333% !important;
    display: flex !important;
    flex-direction: column !important;
}

.recipients-page .aws-action-section .main-card {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    overflow: hidden !important;
}

/* Mobile responsive - maintain equal width */
@media (max-width: 768px) {
    .recipients-page .aws-action-section .row {
        margin: 0 -0.5rem;
        flex-wrap: nowrap !important;
        display: flex !important;
        align-items: stretch !important;
    }
    
    .recipients-page .aws-action-section .col-lg-4,
    .recipients-page .aws-action-section .col-md-4,
    .recipients-page .aws-action-section .col-4 {
        flex: 1 1 33.333% !important;
        max-width: 33.333% !important;
        width: 33.333% !important;
        padding: 0 0.5rem;
        margin-bottom: 0.75rem;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .recipients-page .main-card.compact-card .card-body {
        min-height: 100px;
        padding: 0.75rem;
    }
    
    .recipients-page .aws-action-section .aws-action-card {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        overflow: hidden !important;
    }
    
    .recipients-page .aws-action-section .main-card.compact-card .card-body {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        overflow: hidden !important;
    }
    
    .recipients-page .aws-action-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
    }
    
    .recipients-page .aws-action-icon i {
        font-size: 16px;
    }
    
    .recipients-page .aws-action-title {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        line-height: 1.1;
        word-break: break-word;
        max-width: 100%;
    }
}

/* Extra small screens - maintain equal width with smaller padding */
@media (max-width: 576px) {
    .recipients-page .aws-action-section .row {
        margin: 0 -0.25rem;
        flex-wrap: nowrap !important;
        display: flex !important;
        align-items: stretch !important;
    }
    
    .recipients-page .aws-action-section .col-lg-4,
    .recipients-page .aws-action-section .col-md-4,
    .recipients-page .aws-action-section .col-4 {
        flex: 1 1 33.333% !important;
        max-width: 33.333% !important;
        width: 33.333% !important;
        padding: 0 0.25rem;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .recipients-page .main-card.compact-card .card-body {
        padding: 0.5rem;
        min-height: 90px;
    }
    
    .recipients-page .aws-action-section .aws-action-card {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        overflow: hidden !important;
    }
    
    .recipients-page .aws-action-section .main-card.compact-card .card-body {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        overflow: hidden !important;
    }
    
    .recipients-page .aws-action-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }
    
    .recipients-page .aws-action-icon i {
        font-size: 14px;
    }
    
    .recipients-page .aws-action-title {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        line-height: 1.0;
        word-break: break-word;
        max-width: 100%;
    }
}

.recipients-page .action-btn {
    border-radius: var(--aws-radius-md);
    font-weight: 600;
    font-size: var(--aws-font-size-sm);
    padding: var(--aws-space-md) var(--aws-space-lg);
    border: none;
    transition: all 0.2s ease;
    box-shadow: var(--aws-shadow-sm);
    min-height: 44px;
}

.recipients-page .btn-primary.action-btn {
    background: var(--aws-orange);
    color: white;
}

.recipients-page .btn-primary.action-btn:hover {
    background: #E68900;
    box-shadow: var(--aws-shadow-md);
    transform: none;
}

.recipients-page .btn-warning.action-btn {
    background: var(--aws-warning);
    color: white;
}

.recipients-page .btn-warning.action-btn:hover {
    background: #D68910;
    box-shadow: var(--aws-shadow-md);
    transform: none;
}

.recipients-page .btn-success.action-btn {
    background: var(--aws-success);
    color: white;
}

.recipients-page .btn-success.action-btn:hover {
    background: #138D75;
    box-shadow: var(--aws-shadow-md);
    transform: none;
}

.recipients-page .compact-card .text-muted {
    color: var(--aws-gray-600) !important;
    font-size: var(--aws-font-size-sm);
    margin: 0;
}

/* AWS Main Content Card */
.recipients-page .aws-main-content {
    background: white;
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-lg);
    box-shadow: var(--aws-shadow-sm);
    margin-top: var(--aws-space-xl);
}

.recipients-page .aws-content-header {
    background: linear-gradient(135deg, var(--material-red), var(--material-pink));
    border-bottom: 3px solid var(--material-red);
    padding: var(--aws-space-lg);
    border-radius: var(--aws-radius-lg) var(--aws-radius-lg) 0 0;
    position: relative;
    color: white;
}

.recipients-page .aws-content-header .d-flex {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

.recipients-page .aws-content-header .aws-header-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}



.recipients-page .aws-content-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--material-red), var(--material-pink), var(--material-red), var(--material-pink));
    border-radius: var(--aws-radius-lg) var(--aws-radius-lg) 0 0;
    animation: material-red-pulse 2s ease-in-out infinite;
}

@keyframes material-red-pulse {
    0%, 100% {
        background: linear-gradient(90deg, var(--material-red), var(--material-pink), var(--material-red), var(--material-pink));
        opacity: 1;
    }
    50% {
        background: linear-gradient(90deg, var(--material-pink), var(--material-red), var(--material-pink), var(--material-red));
        opacity: 0.8;
    }
}

.recipients-page .aws-header-title h5 {
    color: white !important;
    font-weight: 600;
    font-size: var(--aws-font-size-lg);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--aws-space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
}

.recipients-page .aws-header-title h5 i,
.recipients-page .aws-header-title h5 .fa-users,
.recipients-page .aws-header-title h5 i.fas.fa-users.me-2.aws-gradient-icon {
    color: white !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    animation: none !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.recipients-page .aws-header-title i {
    color: var(--aws-orange) !important;
}

/* Colorful navigation and header icons */
.recipients-page .navbar-brand i {
    color: var(--aws-orange);
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.3);
}

/* Override the gradient icon specifically for fa-users */
.recipients-page .aws-header-title i.fa-users.aws-gradient-icon {
    background: linear-gradient(135deg, var(--material-red), var(--material-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 8px rgba(244, 67, 54, 0.3)) !important;
    background-size: 100% 100% !important;
    animation: none !important;
}

/* Additional specificity override */
.recipients-page .aws-content-header .aws-header-title i.fa-users.aws-gradient-icon {
    background: linear-gradient(135deg, var(--material-red), var(--material-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 8px rgba(244, 67, 54, 0.3)) !important;
    background-size: 100% 100% !important;
    animation: none !important;
}

.recipients-page .aws-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--aws-font-size-sm);
    margin-top: var(--aws-space-xs);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}



.recipients-page .aws-content-body {
    padding: var(--aws-space-lg);
}

.recipients-page .aws-loading-state {
    padding: var(--aws-space-2xl);
}

.recipients-page .aws-loading-state .logo-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--material-red), var(--material-pink));
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
    animation: logo-spin 2s linear infinite, logo-pulse 3s ease-in-out infinite;
    margin: 0 auto;
}

.recipients-page .aws-loading-state .spinning-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(1.2) contrast(1.1);
}

@keyframes logo-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logo-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(244, 67, 54, 0.6);
        transform: scale(1.05);
    }
}

.recipients-page .aws-loading-state p {
    color: var(--aws-gray-600);
    font-size: var(--aws-font-size-sm);
    margin-top: var(--aws-space-md);
}

/* AWS Recipient Items */
.recipients-page .recipient-item {
    background: white;
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-lg);
    margin-bottom: var(--aws-space-lg);
    box-shadow: var(--aws-shadow-sm);
    transition: all 0.2s ease;
}

.recipients-page .recipient-item:hover {
    box-shadow: var(--aws-shadow-md);
    border-color: var(--aws-gray-300);
}

.recipients-page .recipient-name {
    color: var(--aws-gray-900);
    font-weight: 600;
    font-size: var(--aws-font-size-lg);
    margin-bottom: var(--aws-space-sm);
}

/* AWS Buttons */
.recipients-page .btn {
    border-radius: var(--aws-radius-md);
    font-weight: 500;
    font-size: var(--aws-font-size-sm);
    padding: var(--aws-space-sm) var(--aws-space-md);
    border: none;
    transition: all 0.2s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--aws-space-xs);
}

.recipients-page .btn:hover {
    transform: none;
    box-shadow: var(--aws-shadow-sm);
}

.recipients-page .btn-outline-primary {
    border: 1px solid var(--aws-orange);
    color: var(--aws-orange);
    background: transparent;
}

.recipients-page .btn-outline-primary:hover {
    background: var(--aws-orange);
    color: white;
}

.recipients-page .btn-outline-success {
    border: 1px solid var(--aws-success);
    color: var(--aws-success);
    background: transparent;
}

.recipients-page .btn-outline-success:hover {
    background: var(--aws-success);
    color: white;
}

.recipients-page .btn-outline-warning {
    border: 1px solid var(--aws-warning);
    color: var(--aws-warning);
    background: transparent;
}

.recipients-page .btn-outline-warning:hover {
    background: var(--aws-warning);
    color: white;
}

.recipients-page .btn-outline-danger {
    border: 1px solid var(--aws-danger);
    color: var(--aws-danger);
    background: transparent;
}

.recipients-page .btn-outline-danger:hover {
    background: var(--aws-danger);
    color: white;
}

/* Additional colorful button variants */
.recipients-page .btn-outline-purple {
    border: 1px solid var(--aws-purple);
    color: var(--aws-purple);
    background: transparent;
}

.recipients-page .btn-outline-purple:hover {
    background: var(--aws-purple);
    color: white;
}

.recipients-page .btn-outline-teal {
    border: 1px solid var(--aws-teal);
    color: var(--aws-teal);
    background: transparent;
}

.recipients-page .btn-outline-teal:hover {
    background: var(--aws-teal);
    color: white;
}

.recipients-page .btn-outline-indigo {
    border: 1px solid var(--aws-indigo);
    color: var(--aws-indigo);
    background: transparent;
}

.recipients-page .btn-outline-indigo:hover {
    background: var(--aws-indigo);
    color: white;
}

.recipients-page .btn-outline-pink {
    border: 1px solid var(--aws-pink);
    color: var(--aws-pink);
    background: transparent;
}

.recipients-page .btn-outline-pink:hover {
    background: var(--aws-pink);
    color: white;
}

/* AWS Present Items */
.recipients-page .present-item {
    background: var(--aws-gray-50);
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-md);
    margin-bottom: var(--aws-space-md);
    transition: all 0.2s ease;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.recipients-page .present-item:hover {
    background: white;
    border-color: var(--christmas-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

/* Prevent button text from being cut off */
.recipients-page .present-item .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: fit-content;
}

/* General button text improvements */
.recipients-page .present-item .btn-outline-danger {
    font-size: 13px;
    padding: 6px 10px;
}

/* Material Design Expressive icons in present items */
.recipients-page .present-item .fa-gift {
    color: var(--material-amber);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    animation: material-pulse 2s ease-in-out infinite;
}

.recipients-page .present-item .fa-bookmark {
    color: var(--material-amber);
}

.recipients-page .present-item .fa-check-circle {
    color: var(--material-green);
    animation: material-success-pulse 1.5s ease-in-out infinite;
}

.recipients-page .present-item .fa-edit {
    color: var(--material-indigo);
}

.recipients-page .present-item .fa-trash {
    color: var(--material-red);
}

.recipients-page .present-item .fa-share {
    color: var(--material-cyan);
}

.recipients-page .present-item .fa-heart {
    color: var(--material-pink);
    animation: material-heartbeat 1.8s ease-in-out infinite;
}

.recipients-page .present-item .fa-star {
    color: var(--material-amber);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
    animation: material-twinkle 2.5s ease-in-out infinite;
}

@keyframes material-pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

@keyframes material-heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.05);
    }
    75% {
        transform: scale(1.1);
    }
}

@keyframes material-success-pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes material-twinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.3);
    }
    50% {
        transform: scale(1.05) rotate(-3deg);
        filter: brightness(1.1);
    }
    75% {
        transform: scale(1.08) rotate(2deg);
        filter: brightness(1.2);
    }
}

.recipients-page .present-title {
    color: var(--aws-gray-900);
    font-weight: 600;
    font-size: var(--aws-font-size-md);
    margin-bottom: var(--aws-space-xs);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.recipients-page .present-comments {
    color: var(--aws-gray-700);
    font-size: var(--aws-font-size-sm);
    margin-bottom: var(--aws-space-xs);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

.recipients-page .present-date {
    color: var(--aws-gray-700);
    font-size: var(--aws-font-size-xs);
}

/* AWS Modals */
.recipients-page .aws-modal {
    border: none;
    border-radius: var(--aws-radius-lg);
    box-shadow: var(--aws-shadow-lg);
    overflow: hidden;
}

.recipients-page .aws-modal-header {
    background: linear-gradient(135deg, var(--aws-gray-50) 0%, white 100%);
    border-bottom: 1px solid var(--aws-gray-200);
    padding: var(--aws-space-lg);
    border-radius: var(--aws-radius-lg) var(--aws-radius-lg) 0 0;
}

.recipients-page .aws-modal-title-section .modal-title {
    color: var(--aws-gray-800);
    font-weight: 600;
    font-size: var(--aws-font-size-lg);
    display: flex;
    align-items: center;
    gap: var(--aws-space-sm);
    margin-bottom: var(--aws-space-xs);
}

.recipients-page .aws-modal-title-section i {
    color: var(--aws-orange);
}

/* Colorful icons for different modals */
.recipients-page #addPresentModal .aws-modal-title-section i {
    color: var(--aws-orange);
}

.recipients-page #reservedPresentsModal .aws-modal-title-section i {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.recipients-page #reservedByOtherModal .modal-title i.fa-bookmark {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Empty state bookmark icon in reserved presents modal */
.recipients-page #reservedPresentsModal .fa-bookmark.fa-3x {
    color: var(--aws-gray-400) !important;
    opacity: 0.6;
}

.recipients-page #addRecipientModal .aws-modal-title-section i {
    color: var(--aws-success);
}

.recipients-page #selfIdentificationModal .aws-modal-title-section i {
    color: var(--aws-purple);
}

.recipients-page #recipientSelectionModal .aws-modal-title-section i {
    color: var(--aws-indigo);
}

.recipients-page #profileModal .aws-modal-title-section i {
    color: var(--aws-pink);
}

.recipients-page #changePictureModal .aws-modal-title-section i {
    color: var(--aws-cyan);
}

.recipients-page .aws-modal-subtitle {
    color: var(--aws-gray-600);
    font-size: var(--aws-font-size-sm);
    margin: 0;
}

.recipients-page .aws-close-btn {
    background: none;
    border: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: var(--aws-space-sm);
    border-radius: var(--aws-radius-sm);
}

.recipients-page .aws-close-btn:hover {
    opacity: 1;
    background: var(--aws-gray-100);
}

.recipients-page .aws-modal-body {
    padding: var(--aws-space-lg);
    background: white;
}

.recipients-page .aws-modal-footer {
    background: var(--aws-gray-50);
    border-top: 1px solid var(--aws-gray-200);
    padding: var(--aws-space-lg);
    border-radius: 0 0 var(--aws-radius-lg) var(--aws-radius-lg);
    display: flex;
    justify-content: flex-end;
    gap: var(--aws-space-md);
}

/* AWS Form Styles */
.recipients-page .aws-form {
    width: 100%;
}

.recipients-page .aws-form-section {
    margin-bottom: var(--aws-space-lg);
}

.recipients-page .aws-form-section:last-child {
    margin-bottom: 0;
}

.recipients-page .aws-form-group {
    margin-bottom: var(--aws-space-md);
}

.recipients-page .aws-form-label {
    color: var(--aws-gray-900);
    font-weight: 500;
    font-size: var(--aws-font-size-sm);
    margin-bottom: var(--aws-space-xs);
    display: flex;
    align-items: center;
    gap: var(--aws-space-xs);
}

.recipients-page .aws-form-label i {
    font-size: var(--aws-font-size-xs);
}

/* Colorful form label icons */
.recipients-page .aws-form-label i.fa-gift {
    color: var(--aws-orange);
}

.recipients-page .aws-form-label i.fa-user {
    color: var(--aws-success);
}

.recipients-page .aws-form-label i.fa-comment {
    color: var(--aws-teal);
}

.recipients-page .aws-form-label i.fa-camera {
    color: var(--aws-purple);
}

.recipients-page .aws-form-label i.fa-envelope {
    color: var(--aws-indigo);
}

.recipients-page .aws-form-label i.fa-phone {
    color: var(--aws-pink);
}

.recipients-page .aws-form-label i.fa-link {
    color: var(--aws-cyan);
}

.recipients-page .aws-form-label i.fa-tag {
    color: var(--aws-amber);
}

.recipients-page .aws-form-label i.fa-calendar {
    color: var(--aws-deep-orange);
}

.recipients-page .aws-form-control {
    border: 1px solid var(--aws-gray-300);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    transition: all 0.2s ease;
    background: white;
    width: 100%;
}

.recipients-page .aws-form-control:focus {
    border-color: var(--material-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
    outline: none;
    transform: translateY(-1px);
}

.recipients-page .aws-form-help {
    color: var(--aws-gray-700);
    font-size: var(--aws-font-size-xs);
    margin-top: var(--aws-space-xs);
    display: block;
}

/* AWS Button Styles */
.recipients-page .aws-btn-primary {
    background: linear-gradient(135deg, var(--material-red), var(--material-pink));
    color: white;
    border: none;
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-lg);
    font-size: var(--aws-font-size-sm);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: var(--aws-space-xs);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
    position: relative;
    overflow: hidden;
}

.recipients-page .aws-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.recipients-page .aws-btn-primary:hover {
    background: linear-gradient(135deg, var(--material-amber), var(--material-orange));
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.recipients-page .aws-btn-primary:hover::before {
    left: 100%;
}

.recipients-page .aws-btn-secondary {
    background: transparent;
    color: var(--aws-gray-800);
    border: 2px solid var(--aws-gray-400);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-lg);
    font-size: var(--aws-font-size-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--aws-space-xs);
}

.recipients-page .aws-btn-secondary:hover {
    background: var(--aws-gray-100);
    border-color: var(--aws-gray-600);
    color: var(--aws-gray-900);
    transform: none;
}

/* AWS Alert Styles */
.recipients-page .aws-alert {
    border: none;
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    border-left: 4px solid;
}

.recipients-page .aws-alert.alert-success {
    background: #D5F4E6;
    color: var(--aws-success);
    border-left-color: var(--aws-success);
}

.recipients-page .aws-alert.alert-danger {
    background: #FADBD8;
    color: var(--aws-danger);
    border-left-color: var(--aws-danger);
}

.recipients-page .aws-alert.alert-warning {
    background: #FCF3CF;
    color: var(--aws-warning);
    border-left-color: var(--aws-warning);
}

.recipients-page .aws-alert.alert-info {
    background: #D6EAF8;
    color: var(--aws-info);
    border-left-color: var(--aws-info);
}

/* AWS Form Controls */
.recipients-page .form-control,
.recipients-page .form-select {
    border: 1px solid var(--aws-gray-300);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    transition: all 0.2s ease;
    background: white;
}

.recipients-page .form-control:focus,
.recipients-page .form-select:focus {
    border-color: var(--aws-orange);
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
    outline: none;
}

.recipients-page .form-label {
    color: var(--aws-gray-700);
    font-weight: 500;
    font-size: var(--aws-font-size-sm);
    margin-bottom: var(--aws-space-xs);
}

/* AWS Alerts */
.recipients-page .alert {
    border: none;
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
}

.recipients-page .alert-success {
    background: #D5F4E6;
    color: var(--aws-success);
    border-left: 4px solid var(--aws-success);
}

.recipients-page .alert-danger {
    background: #FADBD8;
    color: var(--aws-danger);
    border-left: 4px solid var(--aws-danger);
}

.recipients-page .alert-warning {
    background: #FCF3CF;
    color: var(--aws-warning);
    border-left: 4px solid var(--aws-warning);
}

.recipients-page .alert-info {
    background: #D6EAF8;
    color: var(--aws-info);
    border-left: 4px solid var(--aws-info);
}

/* AWS Progress Bars */
.recipients-page .progress {
    height: 8px;
    background: var(--aws-gray-200);
    border-radius: var(--aws-radius-sm);
    overflow: hidden;
}

.recipients-page .progress-bar {
    background: var(--aws-success);
    border-radius: var(--aws-radius-sm);
    transition: width 0.3s ease;
}

/* AWS Badges */
.recipients-page .badge {
    border-radius: var(--aws-radius-sm);
    padding: var(--aws-space-xs) var(--aws-space-sm);
    font-size: var(--aws-font-size-xs);
    font-weight: 500;
}

.recipients-page .badge.bg-success {
    background: var(--aws-success) !important;
    color: white !important;
}

.recipients-page .badge.bg-warning {
    background: var(--aws-warning) !important;
    color: white !important;
}

.recipients-page .badge.bg-danger {
    background: var(--aws-danger) !important;
    color: white !important;
}

/* AWS Search Controls */
.recipients-page .search-controls {
    display: flex;
    gap: var(--aws-space-md);
    align-items: center;
    margin-bottom: var(--aws-space-lg);
    flex-wrap: wrap;
}

.recipients-page .search-input {
    border: 1px solid var(--aws-gray-300);
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    flex: 1;
    min-width: 200px;
}

.recipients-page .search-input:focus {
    border-color: var(--aws-orange);
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
    outline: none;
}

.recipients-page .sort-button {
    background: var(--aws-blue);
    color: white;
    border: none;
    border-radius: var(--aws-radius-md);
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--aws-space-xs);
    cursor: pointer;
    transition: all 0.2s ease;
}

.recipients-page .sort-button:hover {
    background: var(--aws-dark-blue);
    box-shadow: var(--aws-shadow-sm);
}

/* AWS Profile Pictures */
.recipients-page .profile-picture-wrapper img {
    border: 2px solid var(--aws-gray-200);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.recipients-page .profile-picture-wrapper:hover img {
    border-color: var(--aws-orange);
    box-shadow: var(--aws-shadow-sm);
}

/* AWS List Groups */
.recipients-page .list-group {
    border-radius: var(--aws-radius-md);
    overflow: hidden;
    border: 1px solid var(--aws-gray-200);
}

.recipients-page .list-group-item {
    border: none;
    border-bottom: 1px solid var(--aws-gray-200);
    padding: var(--aws-space-md);
    transition: all 0.2s ease;
}

.recipients-page .list-group-item:hover {
    background: var(--aws-gray-50);
}

.recipients-page .list-group-item:last-child {
    border-bottom: none;
}

/* AWS Share Buttons */
.recipients-page .share-buttons {
    display: flex;
    gap: var(--aws-space-sm);
    margin-top: var(--aws-space-md);
    flex-wrap: wrap;
}

.recipients-page .share-btn {
    padding: var(--aws-space-xs) var(--aws-space-sm);
    border-radius: var(--aws-radius-sm);
    text-decoration: none;
    font-size: var(--aws-font-size-xs);
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--aws-space-xs);
}

.recipients-page .share-btn:hover {
    transform: none;
    box-shadow: var(--aws-shadow-sm);
    text-decoration: none;
}

/* Mobile and tablet responsive design */
@media (max-width: 1199px) {
    .recipients-page .container {
        padding: var(--aws-space-md);
    }
    
    .recipients-page .aws-action-card {
        height: 150px;
        margin-bottom: var(--aws-space-md);
    }
    
    .recipients-page .aws-action-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        aspect-ratio: 1 / 1;
    }
    
    .recipients-page .aws-action-icon i {
        font-size: 18px;
        line-height: 1;
    }
    
    .recipients-page .aws-action-title {
        font-size: 14px;
    }
    
    .recipients-page .aws-action-description {
        font-size: 12px;
    }
    
    .recipients-page .search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recipients-page .search-input {
        min-width: auto;
        width: 100%;
    }
    
    .recipients-page .aws-content-header {
        padding: var(--aws-space-md);
    }
    
    .recipients-page .aws-header-title h5 {
        font-size: var(--aws-font-size-md);
    }
    
    .recipients-page .aws-modal-body {
        padding: var(--aws-space-md);
    }
    
    .recipients-page .aws-modal-footer {
        padding: var(--aws-space-md);
        flex-direction: column;
        gap: var(--aws-space-sm);
    }
    
    .recipients-page .aws-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile-only specific adjustments */
@media (max-width: 767px) {
    .recipients-page .aws-action-section .row {
        flex-direction: column;
    }
    
    .recipients-page .aws-action-card {
        height: 140px;
    }
    
    .recipients-page .aws-action-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        aspect-ratio: 1 / 1;
    }
    
    .recipients-page .aws-action-icon i {
        font-size: 16px;
        line-height: 1;
    }
    
    .recipients-page .aws-action-title {
        font-size: 13px;
    }
    
    .recipients-page .aws-action-description {
        font-size: 11px;
    }
    
    .recipients-page .navbar-brand {
        font-size: var(--aws-font-size-md);
    }
    
    .recipients-page .aws-header-actions {
        display: none;
    }
    
    /* Center present dates and metadata on mobile */
    .recipients-page .present-item .d-flex .text-muted,
    .recipients-page .present-item .d-flex .small {
        text-align: center !important;
        width: 100%;
        justify-self: center;
    }
    
    .recipients-page .present-item .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .recipients-page .present-item .d-flex > div {
        text-align: center;
        width: 100%;
    }
    
    .recipients-page .recipient-item {
        padding: var(--aws-space-md);
    }
}

/* AWS Loading States */
.recipients-page .spinner-border {
    color: var(--aws-orange);
    width: 2rem;
    height: 2rem;
}

/* AWS Table Styles */
.recipients-page .table {
    border-radius: var(--aws-radius-md);
    overflow: hidden;
    border: 1px solid var(--aws-gray-200);
}

.recipients-page .table th {
    background: var(--aws-gray-50);
    color: var(--aws-gray-700);
    font-weight: 600;
    font-size: var(--aws-font-size-sm);
    border-bottom: 1px solid var(--aws-gray-200);
    padding: var(--aws-space-md);
}

.recipients-page .table td {
    padding: var(--aws-space-md);
    border-bottom: 1px solid var(--aws-gray-200);
    font-size: var(--aws-font-size-sm);
}

.recipients-page .table tbody tr:hover {
    background: var(--aws-gray-50);
}

/* AWS Checkbox Styles */
.recipients-page .form-check-input {
    border: 1px solid var(--aws-gray-300);
    border-radius: var(--aws-radius-sm);
}

.recipients-page .form-check-input:checked {
    background-color: var(--aws-orange);
    border-color: var(--aws-orange);
}

.recipients-page .form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

/* AWS Typography */
.recipients-page {
    font-family: var(--aws-font-family);
    color: var(--aws-gray-800);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.recipients-page h1, .recipients-page h2, .recipients-page h3, 
.recipients-page h4, .recipients-page h5, .recipients-page h6 {
    color: var(--aws-gray-800);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* AWS Micro-interactions */
.recipients-page .aws-action-card,
.recipients-page .aws-modal,
.recipients-page .recipient-item,
.recipients-page .present-item {
    will-change: transform, box-shadow;
}

/* Enhanced Focus States for Accessibility */
.recipients-page .aws-action-card:focus-visible,
.recipients-page .btn:focus-visible,
.recipients-page .form-control:focus-visible {
    outline: 3px solid var(--material-blue);
    outline-offset: 2px;
}

.recipients-page .aws-action-card:focus-visible {
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.3);
}

.recipients-page .btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .recipients-page .aws-action-title {
        color: #000000;
    }
    
    .recipients-page .aws-action-description {
        color: #000000 !important;
    }
    
    .recipients-page .present-title {
        color: #000000;
    }
    
    .recipients-page .present-comments {
        color: #000000;
    }
}

/* AWS Loading States */
.recipients-page .aws-skeleton {
    background: linear-gradient(90deg, var(--aws-gray-100) 25%, var(--aws-gray-50) 50%, var(--aws-gray-100) 75%);
    background-size: 200% 100%;
    animation: aws-skeleton-loading 1.5s infinite;
}

@keyframes aws-skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Material Design Expressive gradient icons */
.recipients-page .aws-gradient-icon:not(.fa-users) {
    background: linear-gradient(45deg, var(--material-red), var(--material-amber), var(--material-green), var(--material-blue), var(--material-purple));
    background-size: 400% 400%;
    animation: material-gradient-shift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Specific styling for fa-users icons - maximum specificity */
.recipients-page .aws-content-header .aws-header-title .fa-users.aws-gradient-icon,
.recipients-page .aws-gradient-icon.fa-users,
.recipients-page i.fa-users.aws-gradient-icon,
.recipients-page .card-header .aws-header-title i.fa-users,
.recipients-page .aws-content-header i.fa-users {
    background: none !important;
    background-image: none !important;
    color: white !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    animation: none !important;
}

/* Nuclear option - override any fa-users in header area */
.recipients-page .aws-content-header *[class*="fa-users"] {
    background: none !important;
    background-image: none !important;
    color: white !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    animation: none !important;
}

@keyframes material-gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Material Design holiday-themed icons */
.recipients-page .fa-gift.holiday-icon {
    background: linear-gradient(45deg, var(--material-red), var(--material-amber), var(--material-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: material-holiday-glow 2s ease-in-out infinite alternate;
}

@keyframes material-holiday-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(244, 67, 54, 0.6));
    }
    33% {
        filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.8));
    }
    66% {
        filter: drop-shadow(0 0 12px rgba(76, 175, 80, 0.7));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(244, 67, 54, 0.5));
    }
}

/* Christmas sparkle effect */
.recipients-page .christmas-sparkle {
    position: relative;
}

.recipients-page .christmas-sparkle::before {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* AWS Status Indicators */
.recipients-page .aws-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--aws-space-xs);
    font-size: var(--aws-font-size-xs);
    font-weight: 500;
    padding: var(--aws-space-xs) var(--aws-space-sm);
    border-radius: var(--aws-radius-sm);
}

.recipients-page .aws-status-success {
    background: rgba(22, 160, 133, 0.1);
    color: var(--aws-success);
}

.recipients-page .aws-status-warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--aws-warning);
}

.recipients-page .aws-status-danger {
    background: rgba(231, 76, 60, 0.1);
    color: var(--aws-danger);
}

.recipients-page .aws-status-info {
    background: rgba(52, 152, 219, 0.1);
    color: var(--aws-info);
}

.recipients-page .aws-status-purple {
    background: rgba(142, 68, 173, 0.1);
    color: var(--aws-purple);
}

.recipients-page .aws-status-teal {
    background: rgba(23, 162, 184, 0.1);
    color: var(--aws-teal);
}

/* AWS Dividers */
.recipients-page .aws-divider {
    height: 1px;
    background: var(--aws-gray-200);
    margin: var(--aws-space-lg) 0;
}

.recipients-page .aws-divider-vertical {
    width: 1px;
    background: var(--aws-gray-200);
    margin: 0 var(--aws-space-md);
}

/* AWS Empty States */
.recipients-page .aws-empty-state {
    text-align: center;
    padding: var(--aws-space-2xl);
    color: var(--aws-gray-600);
}

.recipients-page .aws-empty-state i {
    font-size: 48px;
    color: var(--aws-gray-400);
    margin-bottom: var(--aws-space-md);
}

.recipients-page .aws-empty-state h6 {
    color: var(--aws-gray-700);
    margin-bottom: var(--aws-space-sm);
}

.recipients-page .aws-empty-state p {
    font-size: var(--aws-font-size-sm);
    margin-bottom: var(--aws-space-lg);
}

/* AWS Utility Classes */
.recipients-page .aws-text-primary {
    color: var(--aws-orange) !important;
}

.recipients-page .aws-text-secondary {
    color: var(--aws-gray-600) !important;
}

.recipients-page .aws-text-muted {
    color: var(--aws-gray-500) !important;
}

.recipients-page .aws-bg-light {
    background-color: var(--aws-gray-50) !important;
}

.recipients-page .aws-border {
    border: 1px solid var(--aws-gray-200) !important;
}

.recipients-page .aws-border-radius {
    border-radius: var(--aws-radius-md) !important;
}

.recipients-page .aws-shadow {
    box-shadow: var(--aws-shadow-sm) !important;
}

.recipients-page .aws-shadow-lg {
    box-shadow: var(--aws-shadow-lg) !important;
}

/* AWS Close Button */
.recipients-page .btn-close {
    background: none;
    border: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.recipients-page .btn-close:hover {
    opacity: 1;
}

/* AWS Input Groups */
.recipients-page .input-group-text {
    background: var(--aws-gray-100);
    border: 1px solid var(--aws-gray-300);
    color: var(--aws-gray-600);
    border-radius: var(--aws-radius-md) 0 0 var(--aws-radius-md);
}

.recipients-page .input-group .form-control {
    border-left: none;
    border-radius: 0 var(--aws-radius-md) var(--aws-radius-md) 0;
}

.recipients-page .input-group .form-control:focus {
    border-left: 1px solid var(--aws-orange);
}

/* AWS Dropdown Menus */
.recipients-page .dropdown-menu {
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-md);
    box-shadow: var(--aws-shadow-md);
    padding: var(--aws-space-xs) 0;
}

.recipients-page .dropdown-item {
    padding: var(--aws-space-sm) var(--aws-space-md);
    font-size: var(--aws-font-size-sm);
    color: var(--aws-gray-700);
    transition: all 0.2s ease;
}

.recipients-page .dropdown-item:hover {
    background: var(--aws-gray-50);
    color: var(--aws-gray-800);
}

.recipients-page .dropdown-item:active {
    background: var(--aws-orange);
    color: white;
}

/* AWS Pagination */
.recipients-page .pagination {
    gap: var(--aws-space-xs);
}

.recipients-page .page-link {
    border: 1px solid var(--aws-gray-300);
    color: var(--aws-gray-700);
    padding: var(--aws-space-sm) var(--aws-space-md);
    border-radius: var(--aws-radius-md);
    font-size: var(--aws-font-size-sm);
    transition: all 0.2s ease;
}

.recipients-page .page-link:hover {
    background: var(--aws-gray-50);
    border-color: var(--aws-orange);
    color: var(--aws-orange);
}

.recipients-page .page-item.active .page-link {
    background: var(--aws-orange);
    border-color: var(--aws-orange);
    color: white;
}

/* AWS Tooltips */
.recipients-page .tooltip-inner {
    background: var(--aws-gray-800);
    color: white;
    border-radius: var(--aws-radius-sm);
    font-size: var(--aws-font-size-xs);
    padding: var(--aws-space-xs) var(--aws-space-sm);
}

/* AWS Popovers */
.recipients-page .popover {
    border: 1px solid var(--aws-gray-200);
    border-radius: var(--aws-radius-md);
    box-shadow: var(--aws-shadow-md);
}

.recipients-page .popover-header {
    background: var(--aws-gray-50);
    border-bottom: 1px solid var(--aws-gray-200);
    color: var(--aws-gray-800);
    font-weight: 600;
}

.recipients-page .popover-body {
    color: var(--aws-gray-700);
    font-size: var(--aws-font-size-sm);
}
/*
 FINAL OVERRIDE - Force fa-users icon to be white */
.recipients-page .fas.fa-users.me-2.aws-gradient-icon,
.recipients-page .fa-users.aws-gradient-icon,
.recipients-page i.fa-users,
.recipients-page .aws-content-header .fa-users,
.recipients-page .card-header .fa-users {
    color: white !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    animation: none !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
/* Ske
leton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Toast Improvements */
.toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.toast-body {
    font-weight: 500;
}

/* Smooth transitions for all interactive elements */
button, .btn, .card, .present-item, .recipient-item {
    transition: all 0.2s ease;
}

/* Focus visible improvements for accessibility */
*:focus-visible {
    outline: 2px solid var(--material-blue);
    outline-offset: 2px;
}

/* Hover effects for cards */
.aws-action-card:hover {
    transform: translateY(-2px);
}

/* Loading state improvements */
.updating {
    opacity: 0.6;
    pointer-events: none;
}

/* Success state animation */
@keyframes success-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.success-animation {
    animation: success-pulse 0.3s ease;
}

/* Micro-interaction: Button press effect */
.btn:active {
    transform: scale(0.98);
}

/* Improved checkbox styling */
.form-check-input {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.form-check-input:checked {
    background-color: var(--material-green);
    border-color: var(--material-green);
}

/* Progress bar animation */
.progress-bar {
    transition: width 0.6s ease;
}

/* Empty state styling */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--aws-gray-600);
}

.empty-state i {
    font-size: 64px;
    color: var(--aws-gray-400);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h5 {
    color: var(--aws-gray-700);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--aws-gray-600);
    font-size: 14px;
}

/* Improved modal animations */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

/* Pulse animation for notifications */
@keyframes pulse-notification {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
}

.notification-pulse {
    animation: pulse-notification 2s infinite;
}

/* Remove hover states on touch devices */
@media (hover: none) and (pointer: coarse) {
    .reserve-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .aws-action-card:hover {
        transform: none !important;
        box-shadow: var(--aws-shadow-sm) !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
}

/* Active/pressed state for touch devices */
@media (hover: none) and (pointer: coarse) {
    .reserve-btn:active {
        transform: scale(0.95) !important;
        opacity: 0.8;
    }
    
    .aws-action-card:active {
        transform: scale(0.98) !important;
        opacity: 0.9;
    }
    
    .btn:active {
        transform: scale(0.95) !important;
        opacity: 0.8;
    }
}

/* Reserve button improvements */
.reserve-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.reserve-btn:active {
    transform: scale(0.95);
}

.reserve-btn.updating {
    opacity: 0.8;
    cursor: wait;
    pointer-events: none;
    position: relative;
}

.reserve-btn.updating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    animation: pulse 1s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.reserve-btn.error {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Ripple effect for buttons on touch */
.reserve-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.reserve-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Improve button touch targets on mobile */
@media (max-width: 767px) {
    .reserve-btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .btn-sm {
        min-height: 38px;
        padding: 8px 12px;
    }
}

/* Loading spinner in button */
.reserve-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Success feedback animation */
.present-item.success-animation {
    animation: success-pulse 0.3s ease;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Disable text selection on buttons */
.reserve-btn {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Better focus states for keyboard navigation */
.reserve-btn:focus-visible {
    outline: 2px solid var(--material-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.2);
}

/* Modern minimal spinner */
.minimal-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--material-red);
    border-radius: 50%;
    animation: spinner-rotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: var(--material-red);
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--material-green);
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--material-amber);
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Loading text fade animation */
.loading-text {
    animation: loading-fade 1.5s ease-in-out infinite;
}

@keyframes loading-fade {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Faster, more prominent logo spinner */
.logo-spinner {
    animation: logo-spin-fast 1.2s ease-in-out infinite, logo-pulse-prominent 0.8s ease-in-out infinite;
}

@keyframes logo-spin-fast {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.15);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes logo-pulse-prominent {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 16px 50px rgba(244, 67, 54, 1);
        filter: brightness(1.2);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .minimal-spinner,
    .spinner-ring,
    .logo-spinner,
    .loading-text {
        animation: none;
    }
    
    .spinner-ring {
        border-top-color: var(--material-red);
    }
}

/* Instant load indicator */
.instant-load {
    opacity: 0;
    animation: fade-in 0.3s ease forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search and Filter Bar */
.search-filter-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aws-gray-500);
    font-size: 16px;
    pointer-events: none;
}

.search-input {
    padding-left: 48px;
    padding-right: 40px;
    height: 48px;
    border: 2px solid var(--aws-gray-300);
    border-radius: 24px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: var(--material-blue);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
    outline: none;
}

.clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aws-gray-500);
    padding: 4px 8px;
    z-index: 10;
}

.clear-search:hover {
    color: var(--aws-gray-700);
}

.filter-buttons {
    justify-content: flex-end;
}

.filter-btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-btn.active {
    background: var(--material-blue);
    color: white;
    border-color: var(--material-blue);
}

.filter-btn:hover:not(.active) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments for search/filter */
@media (max-width: 991px) {
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .filter-btn {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 12px;
        padding: 6px 10px;
        white-space: nowrap;
    }
}

/* Mobile collapsible search */
@media (max-width: 767px) {
    .mobile-search-toggle {
        margin-bottom: 16px;
    }
    
    .search-toggle-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .search-toggle-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    }
    
    .search-container {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        transform: translateY(-10px);
    }
    
    .search-container.expanded {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
        margin-bottom: 16px;
    }
    
    .close-search {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--aws-gray-500);
        padding: 4px 8px;
        z-index: 10;
    }
    
    .close-search:hover {
        color: var(--aws-gray-700);
    }
    
    .filter-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }
    
    .filter-btn {
        width: 100%;
        flex: none;
        font-size: 13px;
        padding: 10px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
    
    /* Action cards in 2 columns on mobile */
    .aws-action-section .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .aws-action-section .col-lg-4,
    .aws-action-section .col-md-6 {
        grid-column: span 1;
    }
    
    /* Make third card span full width or adjust as needed */
    .aws-action-section .col-lg-4:nth-child(3),
    .aws-action-section .col-md-6:nth-child(3) {
        grid-column: 1 / -1; /* Full width for third card */
    }
    
    .aws-action-card {
        height: 140px;
    }
    
    .aws-action-title {
        font-size: 13px;
    }
    
    .aws-action-description {
        font-size: 11px;
    }
}

/* Desktop - always show search */
@media (min-width: 768px) {
    .mobile-search-toggle {
        display: none;
    }
    
    .search-container {
        max-height: none;
        opacity: 1;
        transform: none;
    }
    
    .close-search {
        display: none;
    }
}

/* Extra small screens - optimize further */
@media (max-width: 480px) {
    .filter-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .aws-action-card {
        height: 120px;
    }
    
    .aws-action-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }
    
    .aws-action-icon i {
        font-size: 14px;
    }
    
    .aws-action-title {
        font-size: 12px;
    }
    
    .aws-action-description {
        font-size: 10px;
    }
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: none; /* Show only on mobile */
}

@media (max-width: 991px) {
    .fab-container {
        display: block;
    }
    
    /* Keep action cards visible on mobile */
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--material-red), var(--material-pink));
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    position: relative;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
}

.fab-main:active {
    transform: scale(0.95);
}

.fab-main.active {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--material-pink), var(--material-red));
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.fab-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--material-blue);
    border: 2px solid var(--material-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.fab-item:hover {
    transform: scale(1.1);
    background: var(--material-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.fab-item:active {
    transform: scale(0.95);
}

/* FAB item tooltips */
.fab-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.fab-item:hover::before {
    opacity: 1;
}

/* FAB animation delays for staggered effect */
.fab-menu.active .fab-item:nth-child(1) {
    transition-delay: 0.05s;
}

.fab-menu.active .fab-item:nth-child(2) {
    transition-delay: 0.1s;
}

.fab-menu.active .fab-item:nth-child(3) {
    transition-delay: 0.15s;
}

/* Highlight search results */
.search-highlight {
    background-color: rgba(255, 235, 59, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Smooth show/hide for filtered items */
.recipient-item,
.present-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.recipient-item[style*="display: none"],
.present-item[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
}

/* Quick stats badge */
.filter-btn .badge {
    margin-left: 6px;
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.filter-btn.active .badge {
    background: rgba(255, 255, 255, 0.4);
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    animation: dropdown-slide-in 0.2s ease;
}

@keyframes dropdown-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--aws-gray-200);
    background: var(--aws-gray-50);
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 13px;
    color: var(--aws-gray-700);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-count::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--material-green);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.search-results-list {
    padding: 8px 0;
}

.search-results-section {
    margin-bottom: 8px;
}

.search-results-section-title {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--aws-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--aws-gray-800);
}

.search-result-item:hover {
    background: var(--aws-gray-50);
    padding-left: 20px;
}

.search-result-item i {
    color: var(--material-blue);
    font-size: 14px;
    flex-shrink: 0;
}

.search-result-item mark {
    background-color: rgba(255, 235, 59, 0.5);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.search-result-item small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}

.search-results-more {
    padding: 8px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--aws-gray-500);
    font-style: italic;
}

/* Highlight flash animation for scrolled-to elements */
.highlight-flash {
    animation: highlight-pulse 2s ease;
}

@keyframes highlight-pulse {
    0%, 100% {
        background-color: transparent;
    }
    10%, 30% {
        background-color: rgba(255, 235, 59, 0.3);
    }
    20%, 40% {
        background-color: rgba(255, 235, 59, 0.5);
    }
}

/* Close dropdown when clicking outside */
.search-box {
    position: relative;
}

/* Mobile adjustments for search dropdown */
@media (max-width: 767px) {
    .search-results-dropdown {
        max-height: 300px;
        font-size: 14px;
    }
    
    .search-result-item {
        padding: 12px 16px;
    }
    
    .search-result-item:hover {
        padding-left: 16px;
    }
}

/* Scrollbar styling for search results */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: var(--aws-gray-100);
    border-radius: 0 12px 12px 0;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: var(--aws-gray-400);
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--aws-gray-500);
}

/* Faster reserve/unreserve animations */
.smooth-slide-up {
    animation: slide-up 0.3s ease-out;
}

.smooth-slide-down {
    animation: slide-down 0.3s ease-out;
}

.fading {
    animation: fade-out 0.3s ease-out;
}

@keyframes slide-up {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0.5;
    }
}

@keyframes slide-down {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(20px);
        opacity: 0.5;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.3;
    }
}

/* More visible pulsating for progress indicators */
.progress-bar {
    animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }
}


/* Notification Bell Styles */
.notification-bell-container {
    position: relative;
}

.notification-bell-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.notification-bell-btn i {
    font-size: 18px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #F44336;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-dropdown-header h6 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.notification-dropdown-header .btn-link {
    color: #2196F3;
    font-size: 13px;
    padding: 0;
}

.notification-dropdown-body {
    overflow-y: auto;
    max-height: 400px;
}

.notification-dropdown-footer {
    padding: 10px;
    border-top: 1px solid #E0E0E0;
    text-align: center;
}

.notification-dropdown-footer .btn-link {
    color: #2196F3;
    font-size: 14px;
}

/* Notification Item */
.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #F5F5F5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background-color: #F5F5F5;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: transparent;
}

.notification-item.unread:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 16px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-text strong {
    font-weight: 600;
    color: #1976D2;
}

.notification-time {
    color: #9E9E9E;
    font-size: 12px;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #2196F3;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 320px;
        right: -10px;
    }
    
    .notification-item {
        padding: 12px 15px;
    }
    
    .notification-icon {
        width: 32px;
        height: 32px;
    }
    
    .notification-icon i {
        font-size: 14px;
    }
}

/* Animation for new notifications */
@keyframes notification-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.notification-bell-btn.has-new {
    animation: notification-pulse 0.5s ease-in-out;
}


/* Activity Feed Page Styles */
.activity-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #f5f5f5;
}

.notification-item.unread {
    background-color: transparent;
}

.notification-item.unread:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 12px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-time {
    font-size: 12px;
    color: #666;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background-color: #2196F3;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 8px;
    margin-top: 16px;
}

/* Pagination styles */
.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    color: #667eea;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

.pagination .page-link:hover {
    color: #764ba2;
    background-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-item {
        padding: 12px;
    }
    
    .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 8px;
    }
    
    .notification-message {
        font-size: 13px;
    }
    
    .notification-time {
        font-size: 11px;
    }
}


/* Notification Bell Styles */
.notification-bell-container {
    position: relative;
}

.notification-bell-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-bell-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.notification-bell-btn i {
    font-size: 18px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.notification-dropdown.show {
    display: flex;
}

.notification-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-dropdown-header h6 {
    font-weight: 600;
    color: #333;
}

.notification-dropdown-body {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.notification-dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-dropdown-item:last-child {
    border-bottom: none;
}

.notification-dropdown-item:hover {
    background-color: #f5f5f5;
}

.notification-dropdown-item.unread {
    background-color: #e3f2fd;
}

.notification-dropdown-item.unread:hover {
    background-color: #bbdefb;
}

.notification-dropdown-item .notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 12px;
}

.notification-dropdown-item .notification-content {
    flex: 1;
    min-width: 0;
}

.notification-dropdown-item .notification-message {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-dropdown-item .notification-time {
    font-size: 11px;
    color: #666;
}

.notification-dropdown-item .notification-unread-dot {
    width: 8px;
    height: 8px;
    background-color: #2196F3;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 8px;
    margin-top: 14px;
}

.notification-dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.notification-dropdown-footer a {
    color: #667eea;
    font-weight: 500;
}

.notification-dropdown-footer a:hover {
    color: #764ba2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 320px;
        right: -10px;
    }
    
    .notification-dropdown-item {
        padding: 10px 12px;
    }
    
    .notification-dropdown-item .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .notification-dropdown-item .notification-message {
        font-size: 12px;
    }
}


/* Floating Notification Bell - Top Right Corner */
.notification-bell-floating {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1040 !important;
}

.notification-bell-floating .notification-bell-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell-floating .notification-bell-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.5);
}

.notification-bell-floating .notification-bell-btn:active {
    transform: translateY(0) scale(0.98);
}

.notification-bell-floating .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notification-bell-floating .notification-dropdown {
    position: absolute !important;
    top: 60px !important;
    right: 0 !important;
    width: 380px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    z-index: 1041 !important;
}

.notification-bell-floating .notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-bell-floating .notification-dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.notification-bell-floating .notification-dropdown-header h6 {
    color: white;
    margin: 0;
}

.notification-bell-floating .notification-dropdown-header .btn-link {
    color: white;
    font-size: 0.85rem;
    padding: 0;
}

.notification-bell-floating .notification-dropdown-body {
    padding: 0;
    overflow-y: auto;
    max-height: 350px;
}

.notification-bell-floating .notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    gap: 0.75rem;
    align-items: start;
}

.notification-bell-floating .notification-item:hover {
    background: #f8f9fa;
}

.notification-bell-floating .notification-item.unread {
    background: #f0f4ff;
}

.notification-bell-floating .notification-item.unread:hover {
    background: #e6edff;
}

.notification-bell-floating .notification-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-bell-floating .notification-content {
    flex: 1;
    min-width: 0;
}

.notification-bell-floating .notification-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.notification-bell-floating .notification-time {
    font-size: 0.75rem;
    color: #999;
}

.notification-bell-floating .notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #c62828;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.notification-bell-floating .notification-dropdown-footer {
    padding: 0.75rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
    border-radius: 0 0 16px 16px;
}

.notification-bell-floating .notification-dropdown-footer .btn-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.notification-bell-floating .notification-dropdown-footer .btn-link:hover {
    color: white;
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .notification-bell-floating {
        top: 10px;
        right: 10px;
    }
    
    .notification-bell-floating .notification-bell-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .notification-bell-floating .notification-dropdown {
        width: calc(100vw - 20px);
        right: 0;
    }
}
