body {
    background-color: #222831;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Raleway';
}

h1 {
    font-family: 'Raleway';
    letter-spacing: 30px;
    margin-bottom: 20px;
    color: #00ADB5;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    flex-grow: 1;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 25px;
    animation: fadeIn 1.5s ease-in-out;
    flex: 1;
    max-height: 750px;
    justify-content: center;
}

.card {
    width: 50%;
    padding: 10px;
    margin-top: 20px;
    background: transparent;
    box-shadow: 0 8px 20px rgba(0, 173, 181, 0.3);
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 173, 181, 0.4);
}

.deskripsi {
    color: #00ADB5;
    font-family: 'Raleway';
    letter-spacing: 5px;
    font-weight: 500;
}

.submit {
    margin-top: 30px;
    background-color: #00ADB5;
    border-radius: 100px;
    opacity: 0.5;
    padding: 10px 20px;
    letter-spacing: 3px;
}

#pwText {
    margin-top: 20px;
}

.submit:hover {
    background-color: #00ADB5;
    opacity: 1;
    transform: translateY(-2);
}

.form-control {
    border: #00ADB5 solid 1.5px;
}

.error-message {
    margin-top: 10px;
    font-size: 0.9rem;
    font-family: 'Raleway';
    color: #ff4d4f;
    font-weight: 500;
    text-align: left;
    background-color: transparent;
    /* border: 1px solid #ff4d4f; */
    border-radius: 8px;
    padding: 10px;
}

.error-message.show {
    display: block; 
}

/* Media Queries for Responsiveness */

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
        letter-spacing: 10px;
    }

    .container {
        width: 100%;
        padding: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .card {
        width: 90%;
        padding: 15px;
    }

    .submit {
        padding: 12px 25px;
    }

    .form-control {
        width: 100%;
    }

    .card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
        letter-spacing: 5px;
    }

    .container {
        width: 95%;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .card {
        width: 95%;
    }

    .submit {
        width: 100%;
    }

    .form-control {
        font-size: 14px;
    }
}
