* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #000;
}


.container {
    text-align: center;
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    width: 350px;
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #222527;
    font-size: 14px;
    text-align: left;
}

select, input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #f8f8f8;
    background-color: #ffffff;
    color: #000;
}
select, input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #f8f8f8;
    background-color: #ffffff;
    color: #000;
}

.phone-input {
    display: flex;
    align-items: center;
}

.phone-input span {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    color: #000; 
    border-right: 1px solid #f1f1f1;
}

.phone-input input {
    border-radius: 0 4px 4px 0;
    border-left: none;
    flex-grow: 1;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.checkbox-container input {
    margin-right: 10px;
    color: #000;
}

button {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    background-color: #73c2fb;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #4797c4;
}

/* Style konsisten untuk input password */
.password-input .consistent-style {
  background-color: #ffffff; /* Warna background tetap */
  color: #000000; /* Warna teks */
  border: 1px solid #555; /* Border tetap */
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi */
}

.password-input .consistent-style[type="text"] {
  background-color: #ffffff; /* Warna background tetap sama */
  color: #00000; /* Warna teks tetap */
}


/* Style konsisten untuk input password */
.verification-code .consistent-style {
  background-color: #ffffff; /* Warna background tetap */
  color: #000000; /* Warna teks */
  border: 1px solid #555; /* Border tetap */
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi */
}

.verification-code .consistent-style[type="text"] {
  background-color: #ffffff; /* Warna background tetap sama */
  color: #000000; /* Warna teks tetap */
  border: 1px solid #555; /* Border tetap */
  padding: 10px;
  border-radius: 5px;
}


/* Styling untuk pop-up */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

.popup h2 {
  margin-bottom: 10px;
}

.popup p {
  margin-top: 0;
}

input[required]:invalid {
  border: 2px solid rgb(44, 41, 41);
}


/* CSS untuk spinner loading */
.loading-spinner {
  border: 4px solid #f3f3f3; /* Grey background */
  border-top: 4px solid #3498db; /* Blue color for the spinner */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -20px; /* Half of the spinner height */
  margin-left: -20px; /* Half of the spinner width */
  z-index: 9999; /* Ensure spinner is above other content */
}

/* Animasi untuk spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
