/* Custom Styles for Awards Ceremony Management System */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gold-color: #ffd700;
    --silver-color: #c0c0c0;
    --bronze-color: #cd7f32;
}

/* Global Styles */
html, body {
    height: 100%;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1 0 auto;
}

.text-gold {
    color: var(--gold-color) !important;
}

.text-silver {
    color: var(--silver-color) !important;
}

.text-bronze {
    color: var(--bronze-color) !important;
}

.bg-gold {
    background-color: var(--gold-color) !important;
}

.bg-silver {
    background-color: var(--silver-color) !important;
}

.bg-bronze {
    background-color: var(--bronze-color) !important;
}

/* Navigation - Enhanced Design */
.navbar-custom {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #ffd700;
    padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand:hover {
    color: #ffd700 !important;
    transform: scale(1.02);
}

.navbar-custom .navbar-brand i {
    color: #ffd700;
    margin-right: 0.5rem;
}

.navbar-custom .navbar-nav .nav-link {
    font-weight: 600;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-custom .navbar-nav .nav-link.active {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700 !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.navbar-custom .navbar-nav .nav-link i {
    margin-right: 0.5rem;
    color: #ffd700;
    font-size: 0.9rem;
}

.navbar-custom .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Enhancement */
.navbar-custom .dropdown-menu {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-top: 3px solid #ffd700;
}

.navbar-custom .dropdown-item {
    color: #333333;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.navbar-custom .dropdown-item:hover {
    background: linear-gradient(90deg, #ffd700 0%, #fff3cd 100%);
    color: #333333;
    border-left-color: #ffd700;
    transform: translateX(5px);
}

.navbar-custom .dropdown-item i {
    color: #666666;
    width: 1.25rem;
    text-align: center;
}

.navbar-custom .dropdown-item:hover i {
    color: #333333;
}

.navbar-custom .dropdown-divider {
    border-color: #e9ecef;
    margin: 0.5rem 0;
}

/* User Profile Section */
.navbar-custom .navbar-nav .nav-link.dropdown-toggle::after {
    color: #ffd700;
    border-top-color: #ffd700;
}

.navbar-custom .navbar-nav .nav-link.dropdown-toggle:hover::after {
    border-top-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-custom .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 8px;
    }
    
    .navbar-custom .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 0;
    }
    
    .navbar-custom .dropdown-item {
        color: #ffffff;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-custom .dropdown-item:hover {
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
        transform: none;
    }
    
    .navbar-custom .dropdown-item i {
        color: #ffd700;
    }
}

/* Animation for navbar elements */
@keyframes navbarFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-custom .navbar-nav .nav-item {
    animation: navbarFadeIn 0.5s ease-out;
}

.navbar-custom .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-custom .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-custom .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-custom .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-custom .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced navbar effects */
.navbar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* User name highlighting */
.navbar-custom .navbar-nav .nav-link.dropdown-toggle {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
    color: #ffd700 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .navbar-nav .nav-link.dropdown-toggle:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffffff !important;
}

.navbar-custom .user-name {
    font-weight: 600;
    color: inherit;
}

.navbar-custom .user-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
    color: #ffd700;
    transition: all 0.3s ease;
}

.navbar-custom .user-role-badge:hover {
    background: rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.navbar-custom .user-role-badge i {
    color: #ffd700;
    font-size: 0.7rem;
}

/* Active page indicator */
.navbar-custom .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Card Headers - Professional Color Schemes */
.card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 3s ease-in-out infinite;
}

.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.card-header .card-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-header i {
    color: #ffd700;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.card-title {
    margin-bottom: 0;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.ceremony-card {
    height: 100%;
}

.ceremony-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ceremony-card:hover .card-img-top {
    transform: scale(1.05);
}

.ceremony-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ceremony-status.active {
    background-color: var(--success-color);
    color: white;
}

.ceremony-status.upcoming {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.ceremony-status.past {
    background-color: var(--secondary-color);
    color: white;
}

.category-card {
    text-align: center;
    padding: 2rem;
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-fee {
    background-color: var(--gold-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

.nomination-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.nomination-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nomination-status.pending {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.nomination-status.approved {
    background-color: var(--success-color);
    color: white;
}

.nomination-status.rejected {
    background-color: var(--danger-color);
    color: white;
}

.nomination-status.winner {
    background-color: var(--gold-color);
    color: var(--dark-color);
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #146c43);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e0a800);
    border: none;
    color: var(--dark-color);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #b02a37);
    border: none;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stats-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Verification */
.verification-result {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.verification-result.valid {
    background-color: #d1e7dd;
    border: 1px solid var(--success-color);
    color: #0f5132;
}

.verification-result.invalid {
    background-color: #f8d7da;
    border: 1px solid var(--danger-color);
    color: #721c24;
}

.verification-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Payment Methods */
.payment-method {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.payment-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.payment-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Dashboard Widgets */
.dashboard-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.widget-title {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.widget-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .navbar-custom .navbar-nav {
        text-align: center;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .navbar-custom .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 1rem !important;
        margin: 0.25rem 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .navbar-custom .navbar-nav .nav-link:hover {
        background: rgba(255, 215, 0, 0.2);
        transform: scale(1.02);
    }
    
    .navbar-custom .user-profile-link {
        justify-content: center;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem !important;
    }
    
    .navbar-custom .user-role-badge {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .pagination {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer .container {
    max-width: 1200px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.footer .col {
    flex: 1;
    padding: 0 1rem;
    min-width: 250px;
}

.footer h5, .footer h6 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer .social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer .social-links a:last-child {
    margin-right: 0;
}

.footer .text-muted {
    color: #6c757d !important;
}

.footer hr {
    border-color: #495057;
}

@media (max-width: 900px) {
    .footer .row {
        flex-direction: column;
    }
    
    .footer .col {
        margin-bottom: 2rem;
        min-width: auto;
    }
}

/* Nomination Specific Styles */
.nomination-bg {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}

.nomination-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.nomination-section-header {
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
}

.nomination-section-header.bg-info { border-left-color: var(--info-color); background: linear-gradient(90deg, #cfe2ff 60%, #e0e7ff 100%); }
.nomination-section-header.bg-secondary { border-left-color: var(--secondary-color); background: linear-gradient(90deg, #e2e3e5 60%, #f8fafc 100%); }
.nomination-section-header.bg-success { border-left-color: var(--success-color); background: linear-gradient(90deg, #d1e7dd 60%, #e0e7ff 100%); }
.nomination-section-header.bg-warning { border-left-color: var(--warning-color); background: linear-gradient(90deg, #fff3cd 60%, #f8fafc 100%); }
.nomination-section-header.bg-primary { border-left-color: var(--primary-color); background: linear-gradient(90deg, #cfe2ff 60%, #e0e7ff 100%); }
.nomination-section-header.bg-light { border-left-color: #e0e7ff; background: linear-gradient(90deg, #f8fafc 60%, #e0e7ff 100%); }

.nomination-section {
    padding: 1.5rem;
    background: white;
}

.nomination-form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.nomination-form-label .text-danger {
    color: var(--danger-color) !important;
}

.nomination-form-field {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.nomination-form-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.nomination-form-field[required] {
    border-left: 3px solid var(--primary-color);
}

.input-group .nomination-form-field {
    border-radius: 0 8px 8px 0;
}

.nomination-form-btn {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nomination-form-btn:hover, .nomination-form-btn:focus {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.alert-validation-animate {
    animation: shake 0.5s ease-in-out;
}

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

@media (max-width: 768px) {
    .nomination-card {
        margin: 1rem;
        border-radius: 16px;
        padding: 2rem;
    }
    
    .nomination-section {
        padding: 1rem;
    }
    
    .nomination-section-header {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-group .form-control.is-invalid,
.input-group .form-select.is-invalid {
    border-right: none;
}

.input-group .form-control.is-invalid + .input-group-text,
.input-group .form-select.is-invalid + .input-group-text {
    border-color: var(--danger-color);
    background-color: var(--danger-color);
    color: white;
}

.field-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--danger-color);
}

.field-error::before {
    content: "⚠ ";
    font-weight: bold;
}

.field-error-highlight {
    animation: fieldErrorPulse 2s ease-in-out infinite;
}

@keyframes fieldErrorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.validation-summary {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
}

.validation-summary h6 {
    color: #721c24;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.validation-summary ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.validation-summary li {
    margin-bottom: 0.25rem;
}

.scroll-to-error {
    scroll-margin-top: 100px;
}

/* Enhanced Nominations Page Layout */
.nominations-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nominations-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--info-color) 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.25);
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.nominations-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.nominations-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.nominations-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Search and Filter Section */
.nominations-filters {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.search-section {
    display: flex;
    gap: 0.5rem;
}

.search-section .form-control {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.search-section .btn {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
}

.filters-section {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filters-section .form-select {
    flex: 1;
    min-width: 150px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background-color: white;
}

/* Enhanced Table Layout */
.nominations-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.nominations-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.nominations-table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nominations-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.nominations-table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nominations-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
}

.nominations-table .nomination-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.nominations-table .nomination-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

.nominations-table .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nominations-table .actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nominations-table .btn-action {
    padding: 0.5rem;
    border-radius: 6px;
    border: none;
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nominations-table .btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nominations-table .btn-view {
    background: var(--info-color);
}

.nominations-table .btn-edit {
    background: var(--warning-color);
    color: var(--dark-color);
}

.nominations-table .btn-delete {
    background: var(--danger-color);
}

.nominations-table .btn-success {
    background: var(--success-color);
}

/* Pagination Enhancement */
.nominations-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    padding: 0.75rem 1rem;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Empty State */
.nominations-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nominations-empty i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.nominations-empty h3 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.nominations-empty p {
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for Nominations */
@media (max-width: 1200px) {
    .filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters-section {
        justify-content: stretch;
    }
    
    .filters-section .form-select {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nominations-container {
        padding: 1rem;
        align-items: center;
    }
    
    .nominations-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .nominations-header h1 {
        font-size: 2rem;
    }
    
    .nominations-filters {
        padding: 1rem;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .filters-section .form-select {
        width: 100%;
    }
    
    .nominations-table thead th,
    .nominations-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .nominations-table .actions-cell {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .nominations-table .btn-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .nominations-header h1 {
        font-size: 1.75rem;
    }
    
    .search-section {
        flex-direction: column;
    }
    
    .search-section .form-control,
    .search-section .btn {
        border-radius: 8px;
    }
    
    .nominations-table {
        font-size: 0.8rem;
    }
    
    .nominations-table thead th,
    .nominations-table tbody td {
        padding: 0.5rem 0.25rem;
    }
}

/* Form Layout Improvements */
.nomination-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field-group label {
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border-left: 4px solid #1e3c72;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-field-group .form-control,
.form-field-group .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    font-weight: 500;
}

.form-field-group .form-control:focus,
.form-field-group .form-select:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.3rem rgba(30, 60, 114, 0.15), 0 6px 20px rgba(30, 60, 114, 0.15);
    background-color: #ffffff;
    transform: translateY(-2px);
    outline: none;
}

.form-field-group .form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.form-field-group .field-error {
    margin-top: 0.5rem;
}

/* Form Control Plaintext Styling */
.form-control-plaintext {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--dark-color);
    font-weight: 500;
}

/* Section Cards Enhancement */
.nomination-section-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nomination-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.nomination-section-card .card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #ffd700;
}

.nomination-section-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 3s ease-in-out infinite;
}

.nomination-section-card .card-header i {
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.nomination-section-card .card-header h5 {
    margin: 0;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nomination-section-card .card-body {
    padding: 1.5rem;
}

/* Button Group Enhancements */
.nomination-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nomination-actions .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nomination-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .nomination-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nomination-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nomination-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced Nomination Card Styles */
.nomination-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.nomination-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.nomination-card .card-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    border-bottom: 3px solid #e74c3c;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.nomination-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b, #e74c3c);
    animation: shimmer 3s ease-in-out infinite;
}

.nomination-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.nomination-card .card-header i {
    color: #e74c3c;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.nomination-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.info-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
}

.info-item strong {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 0.5rem;
}

.nomination-statement {
    margin: 1rem 0;
}

.nomination-statement p {
    font-style: italic;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.nomination-documents {
    margin: 1rem 0;
}

.nomination-documents .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.nomination-card .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

/* Enhanced Results Summary */
.nominations-container .text-muted {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Enhanced View Toggle */
.btn-group .btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.btn-group .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Modal Styles */
.modal-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    color: white;
    border-bottom: 3px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 3s ease-in-out infinite;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 600;
}

/* Enhanced Table Hover Effects */
.nominations-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .nominations-filters .filters-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nominations-filters .filters-section {
        flex-wrap: wrap;
    }
    
    .nominations-filters .filters-section select {
        flex: 1;
        min-width: 150px;
    }
    
    .nomination-card .card-header {
        padding: 0.75rem;
    }
    
    .nomination-card .card-body {
        padding: 1rem;
    }
    
    .info-item {
        padding: 0.25rem 0;
    }
    
    .info-item i {
        width: 16px;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .nominations-container {
        padding: 1rem 0.5rem;
        align-items: center;
    }
    
    .nominations-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .nominations-header h1 {
        font-size: 1.75rem;
    }
    
    .nominations-header .lead {
        font-size: 1rem;
    }
    
    .btn-group .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .nomination-card .card-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Enhanced Admin Nominations Interface */
.nominations-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3a5f9e 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #ffd700;
}

.nominations-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 3s ease-in-out infinite;
}

.nominations-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nominations-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

.header-actions .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Enhanced Table Styles */
.nominations-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nominations-table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.nominations-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.nominations-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 86, 179, 0.02) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nominations-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
}

/* Info Sections Styling */
.nominator-info, .nominee-info, .award-category {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nominator-name, .nominee-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.nominator-email, .nominee-position, .nominee-designation {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
}

.ceremony-name, .category-name {
    font-size: 0.9rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.ceremony-name {
    font-weight: 600;
}

.category-name {
    color: #6c757d;
}

/* Statement Preview */
.statement-preview p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #495057;
    margin-bottom: 0.5rem;
}

.statement-preview .btn-link {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0;
}

.statement-preview .btn-link:hover {
    text-decoration: underline;
}

/* Document Links */
.document-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.document-links .btn {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Submission Date */
.submission-date {
    text-align: center;
}

.submission-date .date {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.submission-date .time {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
}

.action-buttons .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-buttons .dropdown-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
}

/* Enhanced Status Badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Filters */
.nominations-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.filters-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-section {
    flex: 2;
}

.filters-section {
    flex: 3;
    display: flex;
    gap: 0.5rem;
}

.filters-section .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.input-group {
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

/* Results Summary */
.results-summary {
    display: flex;
    align-items: center;
}

.results-summary .text-muted {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced Checkbox Styling */
.nominations-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    cursor: pointer;
}

.nominations-table input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Enhanced Modal Styles */
.modal-xl {
    max-width: 1200px;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
}

/* Enhanced Card View Improvements */
.nomination-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.nomination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.nomination-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem;
}

.nomination-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.nomination-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.info-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
}

.info-item strong {
    font-weight: 600;
    color: var(--dark-color);
    margin-right: 0.5rem;
}

.nomination-statement {
    margin: 1rem 0;
}

.nomination-statement p {
    font-style: italic;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.nomination-documents {
    margin: 1rem 0;
}

.nomination-documents .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.nomination-card .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filters-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-section, .filters-section {
        flex: 1;
        width: 100%;
    }
    
    .filters-section {
        flex-wrap: wrap;
    }
    
    .filters-section .form-select {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .nominations-header {
        padding: 1.5rem;
    }
    
    .nominations-header h1 {
        font-size: 2rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-actions .btn {
        width: 100%;
    }
    
    .nominations-table thead {
        display: none;
    }
    
    .nominations-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 1rem;
        background: white;
    }
    
    .nominations-table tbody td {
        display: block;
        text-align: left;
        padding: 0.5rem 0;
        border: none;
    }
    
    .nominations-table tbody td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--dark-color);
    }
    
    .action-buttons {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .results-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .view-toggle {
        width: 100%;
    }
    
    .view-toggle .btn-group {
        width: 100%;
    }
    
    .view-toggle .btn {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .nominations-container {
        padding: 1rem 0.5rem;
    }
    
    .nominations-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .nominations-header h1 {
        font-size: 1.75rem;
    }
    
    .nominations-filters {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .filters-section .form-select {
        width: 100%;
    }
    
    .nomination-card .card-header {
        padding: 1rem;
    }
    
    .nomination-card .card-body {
        padding: 1rem;
    }
    
    .info-item {
        padding: 0.25rem 0;
    }
    
    .info-item i {
        width: 16px;
        margin-right: 0.5rem;
    }
    
    .nomination-card .card-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Loading States */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

/* Enhanced Empty State */
.nominations-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.nominations-empty i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.nominations-empty h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.nominations-empty p {
    color: var(--secondary-color);
    max-width: 400px;
    margin: 0 auto;
}

/* Judge Header Banner Styles */
.judge-header-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 50%, #fdcb6e 100%);
    border-bottom: 3px solid var(--warning-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.judge-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="judge-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23judge-pattern)"/></svg>');
    opacity: 0.3;
}

.judge-header-banner .container {
    position: relative;
    z-index: 1;
}

.judge-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    border: 3px solid white;
}

.judge-badge i {
    color: white;
    font-size: 1.5rem;
}

.judge-header-banner h4 {
    color: var(--dark-color);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.judge-header-banner p {
    color: #6c757d;
    font-weight: 500;
}

.judge-stat {
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.judge-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.judge-header-banner .btn {
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.judge-header-banner .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.judge-header-banner .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.judge-header-banner .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.judge-header-banner .btn-outline-success {
    border-color: var(--success-color);
    color: var(--success-color);
}

.judge-header-banner .btn-outline-success:hover {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.judge-header-banner .btn-outline-info {
    border-color: var(--info-color);
    color: var(--info-color);
}

.judge-header-banner .btn-outline-info:hover {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

.judge-header-banner .btn-outline-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.judge-header-banner .btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.judge-header-banner .btn-outline-warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.judge-header-banner .btn-outline-warning:hover {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--dark-color);
}

.judge-header-banner .dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
}

.judge-header-banner .dropdown-item {
    border-radius: 8px;
    margin: 0.125rem 0;
    font-weight: 500;
    transition: all 0.2s ease;
}

.judge-header-banner .dropdown-item:hover {
    background-color: var(--light-color);
    transform: translateX(5px);
}

/* Judge Status Alert */
#judge-status-alert {
    animation: slideDown 0.5s ease-out;
}

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

/* Responsive Design for Judge Header */
@media (max-width: 992px) {
    .judge-header-banner .row {
        text-align: center;
    }
    
    .judge-header-banner .d-flex {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .judge-header-banner .col-lg-4 {
        margin-top: 1rem;
    }
    
    .judge-header-banner .d-flex.flex-wrap {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .judge-header-banner {
        padding: 1rem 0;
    }
    
    .judge-header-banner h4 {
        font-size: 1.25rem;
    }
    
    .judge-header-banner p {
        font-size: 0.9rem;
    }
    
    .judge-badge {
        width: 50px;
        height: 50px;
    }
    
    .judge-badge i {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .judge-header-banner .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .judge-header-banner .d-flex.flex-wrap {
        gap: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    .judge-header-banner .row {
        margin: 0;
    }
    
    .judge-header-banner .col-4 {
        padding: 0 0.25rem;
    }
    
    .judge-stat {
        padding: 0.25rem;
    }
    
    .stat-number {
        font-size: 0.875rem;
    }
    
    .judge-header-banner .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .judge-header-banner .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center;
    }
    
    .judge-header-banner .dropdown {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .judge-header-banner .dropdown-toggle {
        width: 100%;
    }
}

/* Enhanced Status Badges for Nomination Detail */
.status-badge-large {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.status-badge-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-badge-large.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-badge-large.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.status-badge-large.bg-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

.status-badge-large.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.status-badge-large.bg-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

/* Quick Summary Card Styles */
.quick-summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.quick-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quick-summary-card .card-body {
    padding: 2rem;
}

.quick-summary-card .text-center {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.quick-summary-card .text-center:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.quick-summary-card i {
    transition: all 0.3s ease;
}

.quick-summary-card .text-center:hover i {
    transform: scale(1.2);
}

/* Enhanced Nomination Detail Styles */
.nomination-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.nomination-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.nomination-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nomination-detail-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.nomination-detail-header .lead {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Responsive Design for Enhanced Styles */
@media (max-width: 768px) {
    .status-badge-large {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .nomination-detail-header {
        padding: 1.5rem;
    }
    
    .nomination-detail-header h1 {
        font-size: 2rem;
    }
    
    .nomination-detail-header h3 {
        font-size: 1.25rem;
    }
    
    .quick-summary-card .card-body {
        padding: 1rem;
    }
    
    .quick-summary-card .text-center {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .nomination-detail-header h1 {
        font-size: 1.75rem;
    }
    
    .nomination-detail-header h3 {
        font-size: 1.1rem;
    }
    
    .status-badge-large {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Progress Tracker Styles */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 2rem 0;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.progress-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-icon i {
    font-size: 1.25rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.progress-step.completed .progress-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.progress-step.completed .progress-icon i {
    color: white;
}

.progress-step:hover .progress-icon {
    transform: scale(1.1);
}

.progress-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
    margin-bottom: 0.25rem;
}

.progress-date {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.progress-step.completed .progress-label {
    color: #28a745;
}

.progress-step.completed .progress-date {
    color: #20c997;
}

/* Progress line animation */
.progress-tracker::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 30px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    z-index: 1;
    transition: width 0.5s ease;
    width: 0;
}

.progress-tracker[data-progress="1"]::after { width: 25%; }
.progress-tracker[data-progress="2"]::after { width: 50%; }
.progress-tracker[data-progress="3"]::after { width: 75%; }
.progress-tracker[data-progress="4"]::after { width: 100%; }

/* Responsive Design for Progress Tracker */
@media (max-width: 768px) {
    .progress-tracker {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .progress-tracker::before,
    .progress-tracker::after {
        display: none;
    }
    
    .progress-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 1rem;
    }
    
    .progress-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .progress-label {
        margin-bottom: 0.125rem;
    }
}

@media (max-width: 576px) {
    .progress-tracker {
        gap: 1rem;
    }
    
    .progress-icon {
        width: 40px;
        height: 40px;
    }
    
    .progress-icon i {
        font-size: 1rem;
    }
    
    .progress-label {
        font-size: 0.8rem;
    }
    
    .progress-date {
        font-size: 0.7rem;
    }
}

/* Media Gallery Styles */
.media-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.media-image-container,
.media-video-container {
    position: relative;
    overflow: hidden;
}

.media-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.nav-pills .nav-link {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.video-thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

/* Ensure Media button styling matches navigation */
.navbar-custom .nav-link[href*="media"] {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link[href*="media"]:hover {
    color: #ffd700 !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-custom .nav-link[href*="media"].active {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700 !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Media Gallery */
@media (max-width: 768px) {
    .media-card {
        margin-bottom: 1rem;
    }
    
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin: 0.125rem;
    }
    
    .media-overlay {
        top: 5px;
        right: 5px;
    }
    
    .media-overlay .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

