﻿:root {
    --sf-primary-blue: #009EDB;
    --sf-primary-blue-dark: #007DC5;
    --sf-primary-orange: #FDB913;
    --sf-primary-orange-dark: #F7941D;
    --gradient-primary: linear-gradient(315deg, var(--sf-primary-blue), var(--sf-primary-orange));
    --gradient-primary-rev: linear-gradient(135deg, var(--sf-primary-blue), var(--sf-primary-orange));
    --neutral-50: #FAFAFA;
    --neutral-300: #D1D5DB;
    --secondary-light: #6B7280;
    --primary-600: var(--sf-primary-blue);
}

.auth {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-left {
    background: var(--sf-primary-blue);
    position: relative;
    overflow: hidden;
    width: 50%;
}

.auth-right {
    width: 50%;
    background: white;
}

/* Animated 3D Elements Container */
.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating 3D Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    top: 70%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation-delay: 2s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation-delay: 4s;
}

.shape-4 {
    top: 40%;
    right: 5%;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Main 3D Login Icon */
.main-icon {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 10;
}

.login-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate3d {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: rotateX(90deg) rotateY(90deg);
    }

    50% {
        transform: rotateX(180deg) rotateY(180deg);
    }

    75% {
        transform: rotateX(270deg) rotateY(270deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Particle Animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: rise 8s linear infinite;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Welcome Text Animation */
.welcome-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 20;
}

    .welcome-text h6 {
        color: white;
        font-size: 2rem;
        font-weight: 700;
        opacity: 0;
        animation: fadeInUp 2s ease-out 1s forwards;
        text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
    }

    .welcome-text p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 0;
        animation: fadeInUp 2s ease-out 1.5s forwards;
    }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--sf-primary-orange);
    border: none;
    transition: all 1s ease;
    z-index: 1;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: var(--sf-primary-orange);
        opacity: 0;
        transition: opacity 0.8s ease;
        z-index: -1;
    }

    .btn-primary:hover {
        transform: translateY(-1px);
        background: var(--sf-primary-orange-dark);
    }

.btn-outline-primary {
    border-color: var(--sf-primary-blue);
    color: var(--sf-primary-blue);
}

    .btn-outline-primary::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: var(--sf-primary-blue);
        opacity: 0;
        transition: opacity 0.8s ease;
        z-index: -1;
    }

    .btn-outline-primary:hover {
        transform: translateY(-2px);
        background: var(--sf-primary-blue-dark);
    }

.text-primary-600 {
    color: var(--primary-600) !important;
}

.form-control:focus {
    border-color: var(--sf-primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.icon-field {
    position: relative;
}

    .icon-field .icon {
        position: absolute;
        left: 16px;
        color: var(--secondary-light);
        z-index: 5;
    }

    .icon-field input {
        padding-left: 48px;
    }

/* Responsive Design */
@media (max-width: 991px) {
    .auth-left {
        display: none !important;
    }

    .auth-right {
        width: 100%;
    }
}

/* Additional utility classes */
.bg-base {
    background: #f8fafc;
}

.text-secondary-light {
    color: var(--secondary-light);
}

.bg-neutral-50 {
    background-color: var(--neutral-50);
}

.radius-12 {
    border-radius: 12px;
}

.h-56-px {
    height: 56px;
}

.max-w-464-px {
    max-width: 464px;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}