/* Athlete Finder Plugin Styles */

.athlete-finder-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.athlete-finder-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.athlete-finder-form h3 {
    margin-bottom: 20px;
    color: #333;
}

.athlete-finder-form .form-group {
    margin-bottom: 15px;
}

.athlete-finder-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.athlete-finder-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.athlete-finder-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.athlete-finder-form .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.athlete-finder-form .btn-primary {
    background-color: #007bff;
    color: white;
}

.athlete-finder-form .btn-primary:hover {
    background-color: #0056b3;
}

#athlete-search-message {
    margin-top: 15px;
}

.alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Athlete Details Section */

#athlete-details {
    background: #000078;
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#athlete-details .container {
    width: 100%;
}

#athlete-details h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#athlete-details .first_name,
#athlete-details .last_name {
    display: inline-block;
}

#athlete-details .nowrap {
    white-space: nowrap;
}

#athlete-details .athlete-club a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

#athlete-details .athlete-club a:hover {
    border-bottom-color: white;
}

#athlete-details hr {
    border-color: rgba(255,255,255,0.3);
    margin: 20px 0;
}

#athlete-details p {
    color: white;
}

#athlete-details small {
    opacity: 0.9;
}

#athlete-details .bi,
#athlete-details .fa-solid {
    opacity: 0.8;
}

.avatar-section {
    margin-right: 20px;
}

.athlete-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.license-type-icon {
    vertical-align: middle;
}

.address-line,
.club-line {
    display: block;
}

.nationality {
    font-weight: 600;
}

.country-display {
    font-weight: 600;
}

.club-name {
    color: inherit;
}

.badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.bg-success {
    background-color: #28a745 !important;
}

.text-success-emphasis {
    color: #fff !important;
}

/* Responsive */

@media (max-width: 768px) {
    #athlete-details h1 {
        font-size: 1.8rem;
    }
    
    #athlete-details {
        padding: 20px;
    }
    
    .athlete-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    #athlete-details h1 {
        font-size: 1.5rem;
    }
    
    .athlete-finder-form {
        padding: 20px;
    }
}

/* Bootstrap-like utilities if not present */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.align-items-center {
    align-items: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.w-100 {
    width: 100%;
}

.fw-bold {
    font-weight: bold;
}

.fs-4 {
    font-size: 1.5rem;
}

.fs-5 {
    font-size: 1.25rem;
}

.text-nowrap {
    white-space: nowrap;
}
