﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #030712;
}

/* Construction Animation Background Video Wrapper */
.bg-construction-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Video Styling (Looping Building Construction Timelapse) */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.02);
    object-fit: cover;
    z-index: 1;
    animation: videoZoom 20s ease-in-out infinite alternate;
}

@keyframes videoZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* Dark High-Tech Gradient Overlay */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 7, 18, 0.88), rgba(15, 23, 42, 0.93));
    z-index: 2;
}

/* Heavy Animated Glowing Ambient Orbs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 3;
    opacity: 0.55;
    pointer-events: none;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(14, 165, 233, 0.6);
    top: 5%;
    left: 10%;
    animation: floatOrb1 8s ease-in-out infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.5);
    bottom: 5%;
    right: 10%;
    animation: floatOrb2 10s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 30px) scale(1.15);
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-50px, -40px) scale(1.2);
    }
}

/* Glassmorphism Card Container with Entrance Animation */
.glass-card {
    position: relative;
    z-index: 10;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(14, 165, 233, 0.25);
    max-width: 420px;
    width: 100%;
    padding: 1.75rem 2rem;
    animation: cardEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Brand Icon Pulsing Animation */
.brand-icon-box {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    width: 46px;
    height: 46px;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

/* FIXED: Added generous left padding so text starts right after the icon */
.form-control {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(51, 65, 85, 0.9);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem 0.65rem 2.8rem !important; /* Prevents text hiding behind icon */
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .form-control:focus {
        border-color: #0ea5e9;
        box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.25), 0 0 15px rgba(14, 165, 233, 0.3);
        background-color: rgba(15, 23, 42, 1) !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

    .form-control::placeholder {
        color: #64748b !important;
        -webkit-text-fill-color: #64748b !important;
    }

.input-icon {
    position: absolute;
    left: 1rem;
    top: 52%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.875rem;
    z-index: 20;
    pointer-events: none;
    transition: color 0.3s ease;
}

.position-relative:focus-within .input-icon {
    color: #38bdf8;
}

/* CAPTCHA Display Box */
.captcha-box {
    background: linear-gradient(135deg, #090d16, #1e293b);
    border: 1px dashed rgba(14, 165, 233, 0.6);
    letter-spacing: 6px;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.15rem;
    color: #38bdf8;
    user-select: none;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
    border-radius: 0.75rem;
}

/* Refresh Icon Animation */
.fa-rotate-right.spinning {
    animation: spinRefresh 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinRefresh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Glowing Animated ASP.NET Button */
.btn-melior {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    color: #ffffff;
    font-weight: 700;
    border-radius: 0.75rem;
    padding: 0.65rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    display: inline-block;
    text-align: center;
}

    .btn-melior:hover {
        filter: brightness(1.15);
        box-shadow: 0 6px 30px rgba(14, 165, 233, 0.6);
        transform: translateY(-2px);
        color: #fff;
    }

.text-sky {
    color: #38bdf8;
}

label {
    font-size: 0.775rem;
    font-weight: 500;
    color: #cbd5e1;
}
