/**
 * Custom Styles - Sky High Theme
 * Estilos adicionais e ajustes específicos
 */

/* === LOGIN/REGISTER PAGE === */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 420px;
    width: 100%;
    z-index: 1;
}

/* === DASHBOARD LAYOUT === */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-body);
}

.dashboard-sidebar {
    width: 260px;
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.dashboard-content {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
}

.dashboard-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
    margin: -2rem -2rem 2rem -2rem;
    box-shadow: var(--shadow-sm);
}

/* === FEATURE CARDS (Landing) === */
.feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-light) 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* === COMPATIBILITY CARDS === */
.compatibility-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.compatibility-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.compatibility-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* === CODE EDITOR STYLE === */
.code-editor {
    background-color: var(--bg-body);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-main);
    min-height: 300px;
}

.code-editor:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

/* === LOADING SPINNER === */
.spinner-primary {
    border-color: var(--primary-soft);
    border-top-color: var(--primary);
}

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

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

/* === UTILITY CLASSES === */
.shadow-soft {
    box-shadow: var(--shadow-md);
}

.shadow-soft-lg {
    box-shadow: var(--shadow-lg);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .login-card {
        max-width: 100%;
    }
}
