/* General Styling */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    font-family: 'Poppins', sans-serif;
}

/* Logo Styling */
.logo {
    
}

.logo h1 {
    font-size: 2rem; /* Ukuran font */
    color: #000; /* Warna teks */
    margin-top: 10px; /* Jarak atas dari logo */
    font-weight: bold; /* Teks tebal */
    text-shadow:2px 2px #fff ;
}


.logo-img {
    width: 150px;
    animation: logo-fade-in 1.5s ease-in-out;
}

/* Animation for logo */
@keyframes logo-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
    animation: card-fade-in 1.5s ease-in-out;
}

.glass-card .card-body h3 {
    margin-bottom: 60px; /* Adjust the value to increase or decrease spacing */
}

/* Animation for glass card */
@keyframes card-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Label Input Styling */
/* Container for the input and icon */
.input-container {
    position: relative;
    margin-bottom: 2rem;
}

.icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #000;
    font-size: 1.2rem;
    pointer-events: none;
}

/* Input field styling */
.input-field {
    width: 100%;
    padding: 10px 10px 10px 40px;  /* Add padding to the left to accommodate the icon */
    font-size: 1rem;
    border: none;
    border-bottom: 1.5px solid #999;
    background-color: transparent;
    color: #000;
    border-radius: 12px;
/*    box-shadow: 2px 2px #999;*/
transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-bottom: 3px solid #77c4f0;
/*    box-shadow: 2px 2px #6A67CE;*/
}

/* Floating Label Styling */
.input-label {
    position: absolute;
    top: 50%;
    left: 40px;  /* Shift the label right to avoid overlapping with the icon */
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #000;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Move the label when the input is focused or contains text */
.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
    top: -10px;
    left: 40px;
    font-size: 1.2rem;
    color: #77c4f0;
}


.input-field:focus {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #77c4f0;
}

/* Button to show password */
.btn-show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    outline: none;
    font-size: 1.2rem;
}


/* Gradient Button Styling */
.btn-gradient {
    background: linear-gradient(135deg, #77c4f0, #03b4fc);
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-size: 1.3rem;
    color: white;
    transition: background 0.3s ease;
    cursor: pointer;
    /* Add box-shadow for shadow effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adjust values as needed */
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #6A67CE, #8D9EC6);
    /* Optional: add a darker shadow on hover for a nice effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Optional hover shadow */
}

/* Button animation */
.btn-gradient {
    animation: button-fade-in 1.8s ease;
}


@keyframes button-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
