/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
    background-color: rgba(37, 40, 54, 0.96);
    font-family: "SF Pro Text","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    letter-spacing: -.022em;
    line-height: 1.47059;
    font-size: 17px;
    font-weight: 400;
}

/* Professional Sign-in Page Enhancements */
.signin-form-field {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signin-form-field:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(255, 179, 14, 0.1);
}

/* Enhanced button styles */
.signin-button {
    position: relative;
    overflow: hidden;
}

.signin-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.signin-button:hover::before {
    left: 100%;
}

/* Floating animation for background elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

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

/* Remove all page load animations to prevent blinking */
.signin-card {
    /* No animation */
}

.logo-container {
    /* No animation */
}

/* Input focus glow effect */
.input-glow:focus {
    box-shadow: 0 0 0 3px rgba(255, 179, 14, 0.1), 0 0 20px rgba(255, 179, 14, 0.05);
}

/* Password visibility toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #FFB30E;
}

/* Enhanced card prominence */
.prominent-card {
    border: 1px solid rgba(255, 179, 14, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 179, 14, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Custom checkbox styling */
.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(55, 65, 81, 0.91); /* dark gray (gray-700) when unchecked */
    border: 1px solid #4B5563; /* gray-600 border */
    border-radius: 0.125rem; /* rounded-sm equivalent */
    cursor: pointer;
    display: inline-block;
    height: 1rem; /* h-4 equivalent */
    position: relative;
    width: 1rem; /* w-4 equivalent */
    vertical-align: middle;
}

/* Checked state */
.custom-checkbox:checked {
    background-color: #FFB30E; /* your specific yellow color when checked */
    border-color: #FFB30E;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 115%;
}

.checkmark-draw {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: draw 0.8s ease forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hero Page Custom Animations */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fade-in-left 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fade-in-right 0.8s ease-out;
}

/* Enhanced floating animation for hero background elements */
@keyframes hero-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

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

.animate-float-slow {
    animation: hero-float-slow 8s ease-in-out infinite;
}

/* Futuristic AI Animations */
@keyframes scan-line {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes scan-line-vertical {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes neural-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
        filter: hue-rotate(90deg);
    }
}

@keyframes data-stream {
    0% {
        transform: translateX(-100vw) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(-50px);
        opacity: 0;
    }
}

@keyframes hologram-flicker {
    0%, 100% {
        opacity: 1;
        transform: skew(0deg);
    }
    25% {
        opacity: 0.8;
        transform: skew(0.5deg);
    }
    50% {
        opacity: 0.9;
        transform: skew(-0.3deg);
    }
    75% {
        opacity: 0.85;
        transform: skew(0.2deg);
    }
}

@keyframes quantum-glow {
    0%, 100% {
        box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
    }
    50% {
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

/* AI Matrix Background Effect */
@keyframes matrix-rain {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.neural-pulse {
    animation: neural-pulse 3s ease-in-out infinite;
}

.hologram-flicker {
    animation: hologram-flicker 2s ease-in-out infinite;
}

.quantum-glow {
    animation: quantum-glow 2s ease-in-out infinite;
}

/* Enhanced glitch effect for futuristic text */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.text-glitch:hover {
    animation: glitch 0.3s ease-in-out;
}
