/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.red-bar {
    background: #e00819;
    color: white;
    padding: 8px 0;
    border-radius: 0px 0px 15px 15px;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 8px 40px 8px 15px;
    width: 300px;
    font-size: 14px;
    outline: none;
}
.search-btn {
    position: absolute;
    right: 5px;
    background: #e00819;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: white;
    color: #000000;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.account-btn img {
    width: 16px;
    height: 16px;
}

/* Main Header */
.main-header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.cart-btn img {
    width: 20px;
    height: 20px;
}

.cart-count {
    background: #e00819;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Navigation */
.main-nav {
    background: rgb(6 14 59/var(--tw-bg-opacity,1));
    padding: 15px 0;
}

.nav-items {
    display: flex;
    gap: 40px;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #ccc;
}

.nav-item.matches {
    background: #4a5f84;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
}

/* Sub Navigation */
.sub-nav {
    background: #f5f5f5;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.sub-nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: auto;
    text-align: center;
    font-weight: 600;
}

.sub-nav-item {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.sub-nav-item:hover {
    color: #e00819;
}

/* Main Content */
.main-content {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fafafa;
}

.login-section {
    width: 100%;
}

.login-container {
    background: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: rgb(6 14 59/var(--tw-bg-opacity,1));
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Form Styles */
.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    border-color: #e00819;
    background: white;
}

.form-input::placeholder {
    color: #999;
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
}

.password-toggle:hover {
    color: #666;
}

.login-btn {
    width: 100%;
    background: rgb(6 14 59/var(--tw-bg-opacity,1));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: #1a3070;
}

/* Login Links */
.login-links {
    text-align: center;
}

.login-links p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.signup-link {
    color: #e00819;
    text-decoration: underline;
}

.forgot-password {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

.signup-link:hover,
.forgot-password:hover {
    opacity: 0.8;
}

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

.trophies-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.trophies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trophy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trophy-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.trophy-number {
    font-size: 36px;
    font-weight: 700;
    color: rgb(6 14 59/var(--tw-bg-opacity,1));
}

.trophy-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.trophy-subtitle {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

/* Footer Content */
.footer-content {
    background: rgb(6 14 59/var(--tw-bg-opacity,1));
    background-image: url('https://ext.same-assets.com/3453270574/2133182707.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 30px 0 15px; /* Reduced padding */
    position: relative;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 43, 95, 0.95); /* Slightly darker overlay */
    z-index: 1;
}

.footer-content .container {
    position: relative;
    z-index: 2;
}

/* New compact footer layout */
.footer-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-right h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.partners-logos img {
    height: 25px; /* Smaller logo height */
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partners-logos img:hover {
    opacity: 1;
}

.contact-info {
    line-height: 1.4;
}

.phone-number {
    font-size: 18px; /* Smaller font size */
    font-weight: 700;
    color: #e00819;
    margin-bottom: 3px;
}

.address {
    font-size: 12px; /* Smaller font size */
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.link-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: white;
}

.link-column .red-link {
    color: #e00819;
    font-weight: 600;
}

/* Copyright */
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    color: #ccc;
}

.legal-links {
    display: flex;
    gap: 15px;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.invalid-feedback{
    color: #e00819;
    text-align: initial;
}
.is-invalid {
    border-color: #e00819;
}

.alert-success {
  background-color: #66dfc34f;
  border: 1px solid #66dfc3;
  border-radius: 10px;
  margin-bottom: 25px;
  color: #424242;
  padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .top-nav {
        flex-direction: column;
        gap: 15px;
    }

    .search-input {
        width: 200px;
    }

    .nav-items {
        flex-wrap: wrap;
        gap: 20px;
    }

    .sub-nav-items {
        gap: 15px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 24px;
    }

    .trophies-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .footer-compact {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-left {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-section {
        flex-direction: column;
        gap: 10px;
    }

    .search-input {
        width: 250px;
    }

    .main-content {
        padding: 30px 15px;
    }

    .login-container {
        padding: 25px 15px;
    }
}
