body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    overflow: hidden; /* Mencegah scrollbar */
}

.login-container {
    width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    animation: fadeIn 2.2s ease-in-out;
}

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

.login-box {
    margin-bottom: 40px;
}

.logo img {
    width: 140px;
    margin-bottom: 30px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

h2 {
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease;
    font-size: 16px;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #aaa;
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 16px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 8px;
    font-size: 14px;
    color: #6a11cb;
    background-color: white;
    padding: 0 5px;
}

.input-group input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

.login-button {
    background-color: #6a11cb;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    font-weight: 600;
}

.login-button:hover {
    background-color: #580fa6;
    transform: translateY(-2px);
}

.separator {
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.separator span {
    background-color: white;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    transform: translateY(-50%);
}

.google-login {
    margin-top: 20px;
}

.google-button {
    background-color: #fff;
    color: #333;
    padding: 14px 25px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
    font-weight: 500;
}

.google-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.google-button i {
    margin-right: 12px;
    color: #db4437;
}

.contact-info {
    font-size: 14px;
    color: #777;
    margin-top: 30px;
}