/* Main styles for SwimCoach application */

/* General styles */
html, body, button, input, select, textarea {
    font-family: 'Aptos', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Navbar adjustments */
.navbar-brand {
    font-weight: 700;
}

/* Card styles */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Button customization */
.btn {
    border-radius: 0.375rem;
}

/* Form elements */
.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer {
    border-top: 1px solid #e7e7e7;
}

/* Dashboard cards */
.dashboard-card {
    height: 100%;
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 2.5rem;
    color: #0d6efd;
}

/* Table customization */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Swimmer card */
.swimmer-card {
    height: 100%;
    transition: all 0.2s;
}

.swimmer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swimmer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.swimmer-card-header h2 {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.swimmer-card-body {
    padding: 1.25rem;
}

.swimmer-card .list-group-item {
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: none;
    border-right: none;
}

.swimmer-card .list-group-item strong {
    font-weight: 600;
    color: #495057;
}

/* Custom badges */
.badge-stroke-free {
    background-color: #0d6efd;
}

.badge-stroke-back {
    background-color: #198754;
}

.badge-stroke-breast {
    background-color: #dc3545;
}

.badge-stroke-fly {
    background-color: #6610f2;
}

.badge-stroke-im {
    background-color: #fd7e14;
}

/* Performance indicators */
.indicator-improved {
    color: #198754;
}

.indicator-declined {
    color: #dc3545;
}

.indicator-unchanged {
    color: #6c757d;
}
