﻿/* ============================================
   Main Application Stylesheet
   Imports modular CSS files
   ============================================ */

/* Core Modules */
@import url('css/variables.css');
@import url('css/base.css');
@import url('css/layout.css');
@import url('css/components.css');
@import url('css/markdown.css');
@import url('css/home.css');
@import url('css/blog.css');

/* ============================================
   Auth Pages - Login / Register
   ============================================ */

.auth-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease;
}

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

.auth-icon {
    font-size: 4rem;
    color: var(--dotnet-accent);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--dotnet-accent) 0%, var(--dotnet-light-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--gray-300);
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dotnet-accent);
}

.form-subtitle {
    color: var(--gray-300);
    margin-bottom: 30px;
}

/* ============================================
   Checkbox Styled
   ============================================ */

.checkbox-styled {
    width: 100%;
    padding: 16px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-glass-hover);
    cursor: pointer;
}

.checkbox-styled:focus {
    border-color: var(--dotnet-purple);
    box-shadow: 0 0 0 3px rgba(81, 43, 212, 0.2);
}

.checkbox-styled input {
    margin: 0;
    width: 16px;
    height: 16px;
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.form-select:focus {
    outline: none;
    border-color: var(--dotnet-purple);
    box-shadow: 0 0 0 3px rgba(81, 43, 212, 0.2);
}

.form-select option {
    background: var(--dotnet-dark);
    color: #fff;
}

.form-check-input {
    background-color: rgba(81, 43, 212, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.form-check-input:checked {
    background-color: var(--dotnet-purple);
    border-color: var(--dotnet-accent);
}

.form-check-label {
    color: var(--gray-200);
}

/* ============================================
   Floating Animation Elements
   ============================================ */

.floating-element {
    position: fixed;
    font-size: 1.5rem;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.element-1 {
    top: 10%;
    left: 5%;
    animation: float-left 8s ease-in-out infinite;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation: float-right 10s ease-in-out infinite;
}

.element-3 {
    bottom: 15%;
    left: 10%;
    animation: float-left 12s ease-in-out infinite;
}

.element-4 {
    bottom: 10%;
    right: 5%;
    animation: float-right 9s ease-in-out infinite;
}

@keyframes float-left {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-30px) translateY(-30px);
    }
}

@keyframes float-right {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(30px) translateY(-30px);
    }
}
