/* PowerMind Sport Matcher - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties - Color Palette */
:root {
    --primary-purple: #6B46C1;
    --dark-purple: #553C9A;
    --light-purple: #8B5CF6;
    --primary-black: #1F2937;
    --dark-black: #111827;
    --light-gray: #F9FAFB;
    --medium-gray: #6B7280;
    --border-gray: #D1D5DB;
    --success-green: #059669;
    --warning-orange: #D97706;
    --danger-red: #DC2626;
    --info-blue: #2563EB;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-black) 100%);
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.page-title {
    color: var(--light-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--medium-gray);
    font-weight: 400;
    font-size: 1.1rem;
}

/* Logo styling */
.navbar-brand img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-logo img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer styling */
.footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

/* Bootstrap Overrides */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    border: none;
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline-primary:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%) !important;
}

/* Cards */
.card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(107, 70, 193, 0.4);
}

.card-header {
    background: rgba(107, 70, 193, 0.1);
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
    padding: 1.25rem;
    border-radius: 1rem 1rem 0 0 !important;
}

.card-body {
    padding: 1.5rem;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-black) 100%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 70, 193, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    min-height: 500px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.login-logo-large {
    padding: 2rem;
}

.login-logo-large img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem;
        max-width: 95%;
    }
    
    .login-logo-large {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .login-logo-large img {
        max-height: 200px;
    }
}

.login-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.login-title {
    color: var(--light-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.password-input-group {
    position: relative;
    display: flex;
}

.password-input-group .form-control {
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
}

.password-input-group .password-toggle {
    border-left: none;
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 0.375rem 0.75rem;
}

/* Dashboard */
.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-title {
    color: var(--light-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.stat-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 70, 193, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-card-body {
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-purple);
    margin: 0;
    line-height: 1;
}

.stat-label {
    color: var(--medium-gray);
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

.quick-actions-card,
.recent-analyses-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.quick-actions {
    padding: 1rem 0;
}

/* Upload Page */
.upload-container {
    max-width: 1200px;
    margin: 0 auto;
}

.upload-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: var(--light-purple);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(107, 70, 193, 0.3);
    display: inline-block;
}

.upload-zone {
    border: 2px dashed rgba(107, 70, 193, 0.5);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(107, 70, 193, 0.05);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.1);
    transform: scale(1.02);
}

.upload-zone-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.upload-zone h6 {
    color: var(--light-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.file-list {
    background: rgba(107, 70, 193, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
}

.file-item {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-item:hover {
    border-color: rgba(107, 70, 193, 0.4);
    background: rgba(31, 41, 55, 0.95);
}

.file-name {
    font-weight: 500;
    color: #ffffff;
}

.upload-progress {
    flex-grow: 1;
    margin-right: 2rem;
}

.progress {
    height: 8px;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 4px;
}

.help-card {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.help-title {
    color: var(--light-purple);
    margin-bottom: 1.5rem;
}

.help-item {
    text-align: center;
    padding: 1rem;
}

.help-item i {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    display: block;
}

.help-item h6 {
    color: var(--light-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Results Page */
.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.summary-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.child-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    color: var(--medium-gray);
}

.info-item strong {
    color: #ffffff;
}

.sport-type-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.recommendations-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.sport-recommendation {
    background: rgba(107, 70, 193, 0.05);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sport-recommendation:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 70, 193, 0.4);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.2);
}

.sport-rank {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.sport-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.sport-name {
    color: var(--light-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sport-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
}

.analysis-summary-card,
.files-card,
.ai-suggestion-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

/* AI Suggestion Styles */
.ai-suggestion-card {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.ai-suggestion-card .card-header {
    background: rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.suggestion-badge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.suggestion-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.suggestion-details {
    flex: 1;
}

.suggestion-title {
    color: #F59E0B;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.suggestion-description {
    color: var(--medium-gray);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.ai-reasoning {
    background: rgba(255, 193, 7, 0.05);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid #F59E0B;
}

.analysis-text {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-info {
    flex: 1;
}

.file-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.file-size,
.file-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.file-status {
    display: flex;
    align-items: center;
}

.action-buttons {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Admin Management */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.create-user-card,
.users-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
}

.user-details strong {
    color: #ffffff;
}

.contact-info .email {
    color: #ffffff;
    font-weight: 500;
}

.date-info div {
    color: #ffffff;
}

.stats {
    text-align: center;
}

.stats-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
}

.stat-item {
    padding: 1rem;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--medium-gray);
    font-weight: 500;
    margin: 0;
}

/* Profile Page */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-info-card,
.account-info-card,
.settings-card,
.security-card,
.activity-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: white;
}

.profile-badges {
    margin: 1rem 0;
}

.profile-stats {
    border-top: 1px solid rgba(107, 70, 193, 0.2);
    padding-top: 1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--medium-gray);
    font-weight: 500;
    flex: 1;
}

.info-value {
    color: #ffffff;
    font-weight: 500;
}

.security-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.security-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security-content h6 {
    color: var(--light-purple);
    margin-bottom: 0.5rem;
}

.security-content p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(107, 70, 193, 0.05);
    border: 1px solid rgba(107, 70, 193, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: rgba(107, 70, 193, 0.3);
    background: rgba(107, 70, 193, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-date {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

/* Form Styles */
.form-control {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(107, 70, 193, 0.3);
    color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(31, 41, 55, 0.95);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
    color: #ffffff;
}

.form-control::placeholder {
    color: var(--medium-gray);
}

.form-label {
    color: var(--light-purple);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* Table Styles */
.table {
    color: #ffffff;
}

.table th {
    border-color: rgba(107, 70, 193, 0.2);
    color: var(--light-purple);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table td {
    border-color: rgba(107, 70, 193, 0.1);
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: rgba(107, 70, 193, 0.05);
}

/* Analysis Avatar */
.analysis-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--medium-gray);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h6 {
    color: var(--light-purple);
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.75rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    color: #A7F3D0;
    border-left-color: var(--success-green);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    color: #FECACA;
    border-left-color: var(--danger-red);
}

.alert-warning {
    background: rgba(217, 119, 6, 0.1);
    color: #FDE68A;
    border-left-color: var(--warning-orange);
}

.alert-info {
    background: rgba(37, 99, 235, 0.1);
    color: #BFDBFE;
    border-left-color: var(--info-blue);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

/* Footer */
.footer {
    background: rgba(31, 41, 55, 0.95);
    border-top: 1px solid rgba(107, 70, 193, 0.2);
    color: var(--medium-gray);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .upload-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .upload-zone {
        padding: 2rem 1rem;
    }
    
    .stat-card-body {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .child-info {
        grid-template-columns: 1fr;
    }
    
    .sport-recommendation {
        margin-bottom: 1rem;
    }
    
    .quick-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .action-buttons .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .d-flex > div {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .login-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .sport-rank {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .sport-icon {
        font-size: 2rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* Loading and Animation States */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-purple);
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .navbar,
    .footer,
    .btn,
    .alert {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        background: white !important;
        box-shadow: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for better accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid var(--primary-purple);
    }
}
