/* Custom Styles for Paniat Bindas Club - Admin Login Style Alignment */

/* Color Palette Variables - Matching Admin Login Page */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #4285F4;
    --accent-color: #FF6B00;
    --background-color: #f8f9fa;
    --text-color: #202124;
    --light-gray: #f1f3f4;
    --border-color: #dadce0;
    --white-base: #ffffff;
    --dark-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --success-color: #34A853;
    --warning-color: #FBBC05;
    --danger-color: #EA4335;
    --info-color: #6BA4E7;
    --footer-bg: #1A1A1A;
    --footer-text: #CCCCCC;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --soft-yellow: #FFF9DB;
    --warm-yellow: #FFF3CD;
    --soft-pink: #FFF0F5;
    --peach: #FFE5B4;
    --neon-yellow: #FFFFB5;
    --neon-blue: #ADD8E6;
    --neon-pink: #FFC0CB;
}

/* Base Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-weight: 600;
    color: var(--dark-blue) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

/* Dropdown Menu - Standard Hidden Style */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    margin-top: 8px;
    padding: 6px 0;
    background: var(--white-base);
    display: none; /* Standard hidden style */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all var(--transition-speed) ease;
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer h5 {
    color: var(--white-base);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white-base);
}

.social-icons a {
    color: var(--footer-text);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--white-base);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--white-base);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* Button Styles */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Form Styles */
.form-control {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

/* Alert Styles */
.alert {
    border-radius: 4px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

/* Tournament Status Badges */
.badge-tournament {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

.badge-upcoming {
    background-color: var(--info-color);
}

.badge-ongoing {
    background-color: var(--warning-color);
}

.badge-completed {
    background-color: var(--success-color);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
    }
}

/* Additional utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Action Buttons - Clean and Professional */
.action-buttons {
    height: 100%;
}

.btn-donation {
    background-color: #fff0e6;
    border: 1px solid #ffd8c5;
    color: var(--secondary-color);
    height: 30px;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-donation:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-donation:active {
    transform: translateY(0);
}

.btn-fees {
    background-color: #e3f2fd;
    border: 1px solid #c2e0ff;
    color: var(--primary-color);
    height: 30px;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-fees:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-fees:active {
    transform: translateY(0);
}

/* User Utility */
.user-utility {
    height: 100%;
}

.auth-link {
    color: var(--dark-color);
    transition: all 0.2s ease;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 2px 4px;
}

.auth-link:hover {
    color: var(--primary-color);
}

.auth-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

.auth-link:hover::after {
    width: 100%;
}

.divider {
    color: #cbd5e1;
    font-weight: 300;
}

/* Notice Area */
.notice-area {
    background-color: var(--soft-grey);
    border-radius: 8px;
    padding: 5px 16px;
    height: 32px;
    border: 1px solid var(--border-color);
}

.notice-highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

marquee {
    font-weight: 500;
    color: var(--dark-color);
    scroll-behavior: smooth;
}

/* Main Header - Admin Style */
.navbar {
    background-color: var(--white-base);
    height: 62px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    z-index: 1030;
}

.navbar-brand {
    font-weight: 600;
    color: var(--navy-blue) !important;
    font-size: 1.3rem;
    letter-spacing: -0.2px;
}

.navbar-nav .nav-link {
    color: var(--navy-blue) !important;
    font-weight: 500;
    font-size: 14.5px;
    padding: 10px 18px;
    margin: 0 2px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.1px;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(37, 99, 235, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    background: var(--primary-color);
}

/* Dropdown Menu - Standard Hidden Style */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    margin-top: 8px;
    padding: 6px 0;
    background: var(--white-base);
    display: none; /* Standard hidden style */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    transition: all 0.3s ease;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 0;
    color: var(--navy-blue);
}

.dropdown-item:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color) !important;
}

.dropdown-divider {
    margin: 6px 0;
    border-top: 1px solid var(--border-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--white-base);
}

/* Ad Space */
.ad-space {
    border: 1px dashed #ced4da;
    border-radius: 8px;
}

/* Card Styles - Matching Admin Panel */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 15px 20px;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

/* Live Score Banner */
.live-score-banner {
    background: linear-gradient(90deg, #dc3545, #bd2130);
    color: white;
    border-radius: 8px;
}

/* Sponsor Logos */
.sponsor-logo {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.sponsor-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Gallery */
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Map Container */
.map-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Notice Item */
.notice-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--white-base);
    border: 1px solid var(--border-color);
}

.notice-item:hover {
    background-color: rgba(0,0,0,0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Buttons - Matching Admin Panel */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:focus, .btn:active {
    box-shadow: none !important;
    outline: none !important;
    transform: translateY(0) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    height: 43px;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    height: 43px;
    border-radius: 8px;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    height: 43px;
    border-radius: 8px;
}

.btn-warning:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

/* Forms - Matching Admin Panel */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group-text {
    background-color: var(--soft-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
}

/* Alerts - Matching Admin Panel */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background-color: #dcfce7;
    color: #14532d;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e3a8a;
}

/* Tables - Matching Admin Panel */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.table th, .table td {
    border-top: 1px solid var(--border-color);
    padding: 12px 15px;
    vertical-align: middle;
}

.table thead th {
    border-bottom: 2px solid var(--border-color);
    background-color: var(--soft-grey);
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Pagination - Matching Admin Panel */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    padding: 8px 14px;
}

.pagination .page-link:hover {
    background-color: var(--soft-grey);
    border-color: #adb5bd;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Footer - Clean and Professional */
footer.bg-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

footer .btn-outline-light {
    border-radius: 8px;
    transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 6px 0;
    }
    
    .top-bar .contact-info {
        text-align: center;
        margin-bottom: 4px;
    }
    
    .top-bar .digital-clock {
        text-align: center;
        margin-bottom: 4px;
    }
    
    .action-buttons {
        text-align: center;
        margin-bottom: 4px;
    }
    
    .user-utility {
        text-align: center;
    }
    
    .hero-section {
        height: 60vh;
    }
    
    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }
    
    .navbar {
        height: auto;
        padding: 10px 0;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .notice-item {
        padding: 12px;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .dropdown-item {
    transition: all 0.15s ease-in-out;
}