/* Dark Glass-Morphism Theme - Shared Styles */

/* Background gradients */
.bg-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.bg-dark-solid {
    background: #0f172a;
}

/* Glass-morphism effects */
.glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
}

.glass-manager {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
}

.glass-coach {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

/* Icon circle for collapsed sidebar */
.icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-circle:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

.icon-circle.active {
    background: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.icon-circle .tooltip {
    position: absolute;
    left: 100%;
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-circle:hover .tooltip {
    opacity: 1;
}

/* Tab styles */
.tab-active {
    color: white;
    border-bottom: 3px solid #10b981;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.1), transparent);
}

.tab-inactive {
    color: #94a3b8;
    border-bottom: 3px solid transparent;
}

.tab-inactive:hover {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
}

/* Neon glow effect */
.neon-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.neon-glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.neon-glow-purple {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

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

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Global scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Gradient backgrounds */
.gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Button styles */
.btn-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    color: #10b981;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 2px solid #10b981;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: #10b981;
    color: white;
}

/* Form input styles */
.input-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input-dark:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.input-dark::placeholder {
    color: #64748b;
}

/* Select dark */
.select-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.select-dark:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.select-dark option {
    background: #1e293b;
    color: white;
}

/* Table styles */
.table-dark {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 1rem;
    overflow: hidden;
}

.table-dark thead {
    background: rgba(16, 185, 129, 0.1);
}

.table-dark thead th {
    color: #10b981;
    font-weight: 600;
    padding: 1rem;
    text-align: right;
}

.table-dark tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.table-dark tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-dark tbody td {
    padding: 1rem;
    color: #cbd5e1;
}

/* Badge styles */
.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Alert styles */
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #ef4444;
}

.alert-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #fbbf24;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #3b82f6;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Stat card */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.stat-card .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-card .value {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.stat-card .label {
    font-size: 1.125rem;
    color: #10b981;
    margin-top: 0.5rem;
}
