.input-container {
    position: relative;
}
.icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}
.custom-input {
    padding-right: 30px;
}

.header-team{
    height: 10rem;
    display: flex;
    align-items: center;
  }

.card_hover:hover {
    opacity: 0.6;
}

/* Global modal scroll fixes */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

.modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.show {
    display: block !important;
}

/* Ensure login modal scrolls properly */
#exampleModalCenter .modal-dialog {
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

#exampleModalCenter .modal-content {
    max-height: none;
    overflow: visible;
}

/* GloboFootball brand variables */
:root {
    --globo-blue: #051320;
    --globo-primary: #242D60;
    --globo-green: #58BA52;
    --globo-blue-light: #4f91ff;
    --globo-blue-dark: #0056b3;
    --globo-green-light: #28a745;
    --globo-green-teal: #20c997;
}

/* Unified form controls */
.form-label {
    font-weight: 600;
    color: #333;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
    border-color: var(--globo-primary);
    box-shadow: 0 0 0 0.2rem rgba(36, 45, 96, 0.25);
    background: #fff;
    outline: none;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Help text (support both classes used across templates) */
.form-help-text, .help-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Unified primary action button */
.btn-academy {
    background: linear-gradient(135deg, var(--globo-primary) 0%, var(--globo-blue-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-academy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36,45,96,0.25);
}

/* Secondary button */
.btn-secondary, .btn-outline-secondary {
    border-radius: 12px;
    font-weight: 600;
}
