
:root {
    --mlb-blue: #0d2c54;
    --mlb-red: #d50032;
    --mlb-light-blue: #132448;
    --mlb-gold: #ffd700;
    --mlb-dark: #1a1a1a;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.page-hero {
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.search-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 4px solid var(--mlb-blue);
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s;
    border-top: 4px solid var(--mlb-red);
}

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

.team-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-body {
    padding: 25px;
}

.team-card-title {
    color: var(--mlb-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.btn-mlb {
    background: var(--mlb-red);
    color: white;
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(213, 0, 50, 0.3);
}

.btn-mlb:hover {
    background: #b30029;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 0, 50, 0.4);
    color: white;
}

.btn-outline-mlb {
    background: transparent;
    color: var(--mlb-blue);
    border: 2px solid var(--mlb-blue);
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-outline-mlb:hover {
    background: var(--mlb-blue);
    color: white;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: var(--mlb-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 44, 84, 0.25);
}

.pagination .page-link {
    color: var(--mlb-blue);
    border-color: var(--mlb-blue);
}

.pagination .page-item.active .page-link {
    background: var(--mlb-red);
    border-color: var(--mlb-red);
}

/* Modal Login Styles */
.modal-mlb .modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-mlb .modal-header {
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    padding: 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.modal-mlb .modal-header::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%);
}

.modal-mlb .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

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

.modal-mlb .modal-title {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.modal-mlb .modal-body {
    padding: 40px;
}

.modal-mlb .form-label {
    font-weight: 600;
    color: var(--mlb-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.modal-mlb .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s;
    font-size: 1rem;
}

.modal-mlb .form-control:focus {
    border-color: var(--mlb-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 44, 84, 0.25);
}

.modal-mlb .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e9ecef;
    margin-top: 0.3rem;
}

.modal-mlb .form-check-input:checked {
    background-color: var(--mlb-red);
    border-color: var(--mlb-red);
}

.modal-mlb .form-check-label {
    font-weight: 500;
    color: #555;
    margin-left: 8px;
}

.modal-mlb .error-message {
    background: #fee;
    border: 1px solid var(--mlb-red);
    color: var(--mlb-red);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-mlb .field-error {
    color: var(--mlb-red);
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 600;
}

.modal-mlb .modal-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.modal-mlb .modal-footer a {
    color: var(--mlb-blue);
    font-weight: 600;
    text-decoration: none;
}

.modal-mlb .modal-footer a:hover {
    color: var(--mlb-red);
    text-decoration: underline;
}

.login-icon-modal {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    text-align: center;
}
