/* Custom Hockey-themed Styles for Goalie In Your Pocket */

/* Color Variables */
:root {
    --hockey-blue: #003d82;
    --hockey-red: #c8102e;
    --ice-blue: #e8f4f8;
    --puck-black: #1a1a1a;
    --arena-gray: #f5f5f5;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo {
    height: 40px;
    width: auto;
    /* Remove filter and add white background for visibility */
    background-color: white;
    border-radius: 4px;
    padding: 4px;
}

.footer-logo {
    height: 20px;
    width: auto;
    background-color: white;
    border-radius: 2px;
    padding: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--hockey-blue) 0%, #004d9f 100%);
    color: white;
    margin: -1.5rem -15px 0 -15px;
}

.hero-section .display-4 {
    color: white !important;
}

.hero-logo {
    height: 80px;
    width: auto;
    /* No filter - use original logo colors on hero section */
    background-color: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-logo {
    height: 60px;
    width: auto;
}

.payment-logo {
    height: 35px;
    width: auto;
    /* Remove filter and add white background for visibility */
    background-color: white;
    border-radius: 4px;
    padding: 2px;
}

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

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

.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--hockey-blue);
    border-color: var(--hockey-blue);
}

.btn-primary:hover {
    background-color: #002a5c;
    border-color: #002a5c;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    transform: translateY(-1px);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--hockey-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 130, 0.25);
}

.form-control-lg, .form-select-lg {
    padding: 12px 16px;
}

/* Feature Icons */
.feature-icon i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-icon:hover i {
    transform: scale(1.1);
}

/* Status Badges */
.badge {
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
}

/* Hockey-themed backgrounds */
.bg-hockey-ice {
    background: linear-gradient(45deg, #e8f4f8 25%, transparent 25%), 
                linear-gradient(-45deg, #e8f4f8 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #e8f4f8 75%), 
                linear-gradient(-45deg, transparent 75%, #e8f4f8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.alert-info {
    border-left-color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
}

.alert-warning {
    border-left-color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.alert-danger {
    border-left-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Stack stats cards on mobile */
    .row > [class*="col-md-3"] {
        margin-bottom: 1rem;
    }
}

/* Hockey Puck Loading Animation */
.loading-puck {
    animation: puck-slide 2s infinite linear;
}

@keyframes puck-slide {
    0% { transform: translateX(-100px) rotate(0deg); }
    100% { transform: translateX(100px) rotate(360deg); }
}

/* Custom Hockey Font Weights */
.fw-bold {
    font-weight: 700;
}

/* Enhanced Card Headers */
.card-header {
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Table Enhancements */
.table-borderless td {
    border: none;
    padding: 0.5rem 0;
}

/* Footer Styles */
footer {
    margin-top: auto;
}

/* Form Check Enhancements */
.form-check-input-lg {
    width: 1.5em;
    height: 1.5em;
}

.form-check-label {
    margin-left: 0.5rem;
}

/* Progress Indicators */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Hockey-themed Decorative Elements */
.hockey-divider {
    border-top: 3px solid var(--hockey-blue);
    width: 60px;
    margin: 1rem auto;
}

/* Enhanced Button Groups */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
    border-radius: 0 8px 8px 0;
}

/* Special Hockey Elements */
.hockey-accent {
    position: relative;
}

.hockey-accent::after {
    content: "🏒";
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2rem;
}

/* Responsive Typography */
@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
}

/* Print Styles */
@media print {
    .navbar, footer, .btn {
        display: none;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* Launching Soon Overlay */
.disabled-card {
    filter: grayscale(50%);
    opacity: 0.7;
}

.launching-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.launching-soon-content {
    text-align: center;
    color: var(--hockey-blue);
    animation: pulse-fade 2s ease-in-out infinite;
}

.launching-soon-content i {
    color: var(--hockey-blue);
    animation: rocket-float 3s ease-in-out infinite;
}

.launching-soon-content h3 {
    color: var(--hockey-blue);
    margin-bottom: 0.5rem;
}

.launching-soon-content p {
    color: #666;
    font-size: 0.95rem;
}

@keyframes pulse-fade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
