/* Modal background overlay */
.custom-modal {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    overflow-y: auto; /* Allows scrolling on mobile if content exceeds viewport */
}

/* Responsive modal content */
.custom-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%; /* Responsive width */
    max-width: 400px; /* Maximum width for desktop */
    border-radius: 10px;
    position: relative;
    text-align: center;
}


/* Judul */
.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Link register */
.register-link {
    color: green;
    font-size: 14px;
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
}

/* Close button */
.custom-close {
    font-size: 28px;
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    color: #aaa;
}

.custom-close:hover {
    color: #000;
}

/* Input field */
.input-group {
    margin-top: 20px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.input-group input:focus {
    border-color: green;
}

/* Help link */
.help-link {
    font-size: 12px;
    color: green;
    float: right;
    text-decoration: none;
    margin-top: 10px;
}

/* Submit button */
.btn-submit {
    background-color: #ddd;
    color: white;
    padding: 12px;
    border: none;
    width: 100%;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.btn-submit:disabled {
    background-color: #ddd;
}

/* Separator */
.separator {
    position: relative;
    text-align: center;
    margin: 20px 0;
    font-size: 12px;
    color: #999;
}

.separator::before, .separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

/* Button Metode Lain */
.btn-other-methods {
    background-color: #f7f7f7;
    color: #333;
    padding: 12px;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
}

.btn-other-methods:hover {
    background-color: #e2e2e2;
}


/* Tombol Kembali */
/* Tombol Kembali tanpa background */
.btn-back {
    font-size: 18px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #333;
    margin-right: auto;
    padding-left: 10px;
}

.btn-back:hover {
    color: #007bff;
}


/* Gaya untuk tombol Google Login */
.btn-google-login {
    background-color: #f7f7f7;
    color: #333;
    padding: 12px;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
}

.btn-google-login img {
    width: 20px;
    margin-right: 10px;
}

.btn-google-login:hover {
    background-color: #e2e2e2;
}

/* Gaya untuk tombol Google Login */
.btn-facebook-login {
    background-color: #f7f7f7;
    color: #333;
    padding: 12px;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
}

.btn-facebook-login img {
    width: 20px;
    margin-right: 10px;
}

.btn-facebook-login:hover {
    background-color: #e2e2e2;
}


/* Tombol Kembali pada modal ketiga */
.btn-back {
    font-size: 24px;
    cursor: pointer;
    margin-right: auto;
    padding-left: 10px;
}

.custom-modal-content {
    position: relative;
    padding: 20px;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



