/* CloudTransferHub - Theme Colors Based on Logo */

:root {
    /* Primary Brand Colors (from logo) */
    --ct-primary: #4f7df3;
    --ct-primary-dark: #1e40af;
    --ct-primary-light: #6b7df0;
    --ct-primary-lighter: #e0f2fe;
    
    /* Logo specific styles */
    --ct-logo-height-nav: 50px;
    --ct-logo-height-sidebar: 45px;
    
    /* Secondary Colors */
    --ct-success: #10b981;
    --ct-success-dark: #059669;
    --ct-warning: #f59e0b;
    --ct-warning-dark: #d97706;
    --ct-danger: #ef4444;
    --ct-danger-dark: #dc2626;
    --ct-info: #06b6d4;
    
    /* Neutral Colors */
    --ct-gray-50: #f8fafc;
    --ct-gray-100: #f1f5f9;
    --ct-gray-200: #e2e8f0;
    --ct-gray-300: #cbd5e1;
    --ct-gray-400: #94a3b8;
    --ct-gray-500: #64748b;
    --ct-gray-600: #475569;
    --ct-gray-700: #334155;
    --ct-gray-800: #1e293b;
    --ct-gray-900: #0f172a;
    
    /* Shadows */
    --ct-shadow-sm: 0 1px 2px 0 rgba(79, 125, 243, 0.05);
    --ct-shadow: 0 1px 3px 0 rgba(79, 125, 243, 0.1), 0 1px 2px 0 rgba(79, 125, 243, 0.06);
    --ct-shadow-md: 0 4px 6px -1px rgba(79, 125, 243, 0.1), 0 2px 4px -1px rgba(79, 125, 243, 0.06);
    --ct-shadow-lg: 0 10px 15px -3px rgba(79, 125, 243, 0.1), 0 4px 6px -2px rgba(79, 125, 243, 0.05);
    --ct-shadow-xl: 0 20px 25px -5px rgba(79, 125, 243, 0.1), 0 10px 10px -5px rgba(79, 125, 243, 0.04);
    
    /* Gradients */
    --ct-gradient-primary: linear-gradient(135deg, #4f7df3 0%, #1e40af 100%);
    --ct-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --ct-gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --ct-gradient-info: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Enhanced Button Styles */
.ct-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.ct-btn-primary {
    background: var(--ct-gradient-primary);
    color: white;
}

.ct-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(79, 125, 243, 0.3);
    background: linear-gradient(135deg, #3b6ef0 0%, #1d4ed8 100%);
}

.ct-btn-success {
    background: var(--ct-gradient-success);
    color: white;
}

.ct-btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Enhanced Card Styles */
.ct-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--ct-shadow);
    border: 1px solid var(--ct-gray-200);
    overflow: hidden;
}

.ct-card-elevated {
    box-shadow: var(--ct-shadow-lg);
}

.ct-card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid var(--ct-gray-200);
    margin-bottom: 1.5rem;
}

.ct-card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ct-gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ct-card-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Stat Card Enhancements */
.ct-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--ct-shadow);
    border: 1px solid var(--ct-gray-200);
    position: relative;
    overflow: hidden;
}

.ct-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--ct-gradient-primary);
}

.ct-stat-card.success::before {
    background: var(--ct-gradient-success);
}

.ct-stat-card.warning::before {
    background: var(--ct-gradient-warning);
}

.ct-stat-card.info::before {
    background: var(--ct-gradient-info);
}

.ct-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    background: var(--ct-gradient-primary);
    margin-bottom: 1rem;
}

.ct-stat-icon.success {
    background: var(--ct-gradient-success);
}

.ct-stat-icon.warning {
    background: var(--ct-gradient-warning);
}

.ct-stat-icon.info {
    background: var(--ct-gradient-info);
}

/* Sidebar Enhancements */
.ct-sidebar {
    background: var(--ct-gradient-primary);
    box-shadow: var(--ct-shadow-xl);
}

.ct-sidebar-admin {
    background: linear-gradient(135deg, var(--ct-gray-800) 0%, var(--ct-gray-900) 100%);
    border-right: 2px solid var(--ct-primary);
}

.ct-nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.ct-nav-link:hover,
.ct-nav-link.active {
    color: var(--ct-primary-lighter);
    background: rgba(224, 242, 254, 0.15);
    transform: translateX(4px);
}

.ct-nav-link:hover::before,
.ct-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ct-primary-lighter);
}

/* Form Enhancements */
.ct-form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--ct-gray-200);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.ct-form-input:focus {
    outline: none;
    border-color: var(--ct-primary);
    box-shadow: 0 0 0 3px rgba(79, 125, 243, 0.1);
}

/* Status Indicators */
.ct-status-active {
    color: var(--ct-success);
}

.ct-status-inactive {
    color: var(--ct-danger);
}

.ct-status-pending {
    color: var(--ct-warning);
}

/* Text Colors */
.ct-text-primary {
    color: var(--ct-primary);
}

.ct-text-muted {
    color: var(--ct-gray-500);
}

.ct-text-dark {
    color: var(--ct-gray-800);
}

/* Background Classes */
.ct-bg-light {
    background-color: var(--ct-gray-50);
}

.ct-bg-primary {
    background: var(--ct-gradient-primary);
    color: white;
}

/* Hover Effects */
.ct-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--ct-shadow-lg);
}

.ct-hover-scale:hover {
    transform: scale(1.02);
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .ct-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .ct-sidebar.open {
        transform: translateX(0);
    }
}