/* public/css/login.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

.login-body {
    background: url('https://croherze.com/wp-content/themes/croherze_default/css/bcg.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
}

.glass-container {
    background: rgba(35, 35, 35, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 3rem;
    color: white;

    animation: fadeIn 0.7s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.server-logo {
    max-width: 100px; /* Prilagodi veličinu po potrebi */
    margin-bottom: 1rem;
}

.form-floating > .form-control {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-floating > label {
    color: #ccc;
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease; 
    font-weight: 600; 
}

.btn-primary:hover, .btn-primary:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
    transform: translateY(-2px); 
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.3) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}