/* Handle Monitor - Common Theme Styles */

/* Core Theme Variables and Classes */
:root {
    --theme-gradient: linear-gradient(90deg, rgba(9, 135, 255, 1) 0%, rgba(152, 1, 255, 1) 100%);
    --theme-gradient-hover: linear-gradient(90deg, rgba(9, 135, 255, 0.9) 0%, rgba(152, 1, 255, 0.9) 100%);
    --theme-blue: rgba(9, 135, 255, 1);
    --theme-purple: rgba(152, 1, 255, 1);
    --light-bg: #f8fafc;
    --white-bg: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Common Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(2deg); 
    }
}

/* Animation Classes */
.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Theme Background Classes */
.hero-bg {
    background: var(--light-bg);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-bg-light {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white-bg) 100%);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white-bg) 100%);
}

/* Theme Gradient Classes */
.bg-theme-gradient {
    background: var(--theme-gradient);
}

.bg-theme-gradient:hover {
    background: var(--theme-gradient-hover);
}

.text-theme-gradient {
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.border-theme-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--white-bg), var(--white-bg)) padding-box,
                var(--theme-gradient) border-box;
}

/* Common Card Styles */
.theme-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.theme-card-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Common Button Styles */
.btn-theme-primary {
    background: var(--theme-gradient);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(9, 135, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-theme-primary:hover {
    background: var(--theme-gradient-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(9, 135, 255, 0.4);
    color: white;
    text-decoration: none;
}

.btn-theme-secondary {
    background: transparent;
    color: var(--theme-blue);
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--theme-blue);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-theme-secondary:hover {
    background: var(--theme-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(9, 135, 255, 0.3);
    text-decoration: none;
}

/* Content Section Styling */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.content-card-bordered {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card-bordered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-gradient);
}

.content-card-bordered:hover {
    border-color: rgba(9, 135, 255, 0.3);
    box-shadow: 0 8px 25px rgba(9, 135, 255, 0.1);
    transform: translateY(-2px);
}

/* Icon Styles */
.theme-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--theme-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.theme-icon-large {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

/* Typography */
.theme-heading {
    background: var(--theme-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.theme-text-primary {
    color: var(--gray-900);
}

.theme-text-secondary {
    color: var(--gray-600);
}

.theme-text-muted {
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-section {
        padding: 32px;
    }
    
    .content-card-bordered {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 24px;
        border-radius: 16px;
    }
    
    .content-card-bordered {
        padding: 20px;
        border-radius: 12px;
    }
    
    .btn-theme-primary,
    .btn-theme-secondary {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .theme-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 12px;
    }
    
    .theme-icon-large {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 20px;
        margin: 16px;
    }
    
    .content-card-bordered {
        padding: 16px;
    }
    
    .btn-theme-primary,
    .btn-theme-secondary {
        padding: 12px 24px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
    
    .theme-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: 10px;
    }
    
    .theme-icon-large {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Utility Classes */
.theme-shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-shadow-md {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.theme-border {
    border: 1px solid var(--gray-200);
}

.theme-border-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-rounded {
    border-radius: 12px;
}

.theme-rounded-lg {
    border-radius: 16px;
}

.theme-rounded-xl {
    border-radius: 24px;
}

/* Gradient Overlay Classes */
.gradient-overlay-purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.gradient-overlay-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

.gradient-overlay-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
}
