﻿/* 
   To customize the theme colors, uncomment the following blocks and adjust the hex codes.
   DaisyUI uses CSS variables for theming. 
   See https://daisyui.com/docs/colors/ for more information.
*/

/*
[data-theme="light"] {
    --color-primary: #8bc34a;
    --color-primary-content: #ffffff;
    --color-secondary: #fed300;
    --color-secondary-content: #000000;
}

[data-theme="dark"] {
    --color-primary: #8bc34a;
    --color-primary-content: #000000;
    --color-secondary: #fed300;
    --color-secondary-content: #000000;
}
*/


input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.animated-gradient {
    background: linear-gradient( -45deg, oklch(var(--b1)), oklch(var(--b2)), oklch(var(--b1)), oklch(var(--b2)) );
    background-size: 300% 300%;
    animation: gradient 100s ease infinite;
}



@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 640px) {
    #modal-content {
        width: 100vw;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: 1rem;
        overflow: auto;
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    @supports (height: 100dvh) {
        #modal-content {
            height: 100dvh;
        }
    }

    @supports not (height: 100dvh) {
        #modal-content {
            height: 100vh;
        }
    }
}

/* Dynamic viewport height fallback for older browsers */
@supports not (min-height: 100dvh) {
    body, .drawer-content {
        min-height: 100vh;
    }
}

/* Space theme styles for login pages */
.space-bg {
    position: absolute;
    inset: 0;
    background: #14171D;
}
}

[data-theme="nord"] .space-bg {
    background: #D8DEE9;
}

#starfield {
    position: absolute;
    inset: 0;
}

.space-card {
    animation: zoomIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, cardGlow 4s ease-in-out 0.6s infinite;
    opacity: 0;
    transform: scale(0);
}

@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes cardGlow {
    0% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.2), 0 0 50px rgba(255, 0, 0, 0.1); }
    14% { box-shadow: 0 0 25px rgba(255, 165, 0, 0.2), 0 0 50px rgba(255, 165, 0, 0.1); }
    28% { box-shadow: 0 0 25px rgba(255, 255, 0, 0.2), 0 0 50px rgba(255, 255, 0, 0.1); }
    42% { box-shadow: 0 0 25px rgba(0, 255, 0, 0.2), 0 0 50px rgba(0, 255, 0, 0.1); }
    57% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), 0 0 50px rgba(0, 255, 255, 0.1); }
    71% { box-shadow: 0 0 25px rgba(0, 0, 255, 0.2), 0 0 50px rgba(0, 0, 255, 0.1); }
    85% { box-shadow: 0 0 25px rgba(148, 0, 211, 0.2), 0 0 50px rgba(148, 0, 211, 0.1); }
    100% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.2), 0 0 50px rgba(255, 0, 0, 0.1); }
}

.space-btn {
    animation: fadeSlideIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateX(-10px);
}

@keyframes fadeSlideIn {
    to { opacity: 1; transform: translateX(0); }
}
