/* style.css - Universal Theme for Payables System */

:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --ios-blue: #007AFF;
    --ios-red: #FF3B30;
}

/* 1. Animated Background (Your Requested Look) */
body {
    background: linear-gradient(-45deg, #007AFF, #00c6ff, #0072ff, #004094);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    margin: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2. Login Specific Styles (Fixed for Visibility) */
.glass-login {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.btn-ios-login {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    padding: 14px;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    display: block;
    /* Ensures visibility */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-ios-login:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.9) !important;
}

.form-control-ios {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 12px;
    padding: 12px;
}

.form-control-ios::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* 3. Index/Dashboard Card Styles (Retained) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    color: white;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.icon-sphere {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.mt-auto {
    margin-top: auto !important;
}