/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Version:      1.0.0
*/

@import url("../hello-elementor/style.css");

/* Pastikan tiada overflow */
html, body {
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Pastikan semua container tidak lebih dari viewport */
.container, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap {
  max-width: 100vw !important;
  width: 100vw !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* Pastikan gambar tidak menyebabkan lebihan skrin */
img {
  max-width: 100% !important;
  height: auto !important;
  /* display: block !important; */
}

/* Debug - Jika masih ada padding putih */
/* body::before {
  content: "DEBUG MODE - CHECK ELEMENTS";
  color: white;
  background: red;
  padding: 5px;
  display: block;
  text-align: center;
  font-size: 12px;
} */

/* Untuk desktop */
@media (min-width: 768px) {
  .elementor-section {
      width: 100vw !important;
      max-width: 100vw !important;
  }
}

/* Untuk mobile */
@media (max-width: 767px) {
  .elementor-section {
      width: 100% !important;
      max-width: 100% !important;
  }
}



/* Responsive - Mobile View */
@media (max-width: 480px) {
    #whatsapp-form {
        max-width: 100% !important;
        padding: 15px !important;
    }

    #whatsapp-form input, #whatsapp-form select, #whatsapp-form button {
        font-size: 14px !important;
        padding: 10px !important;
    }
}

/* costum login */

/* Tombol Login */
body.wp-core-ui .button-group.button-large .button,.wp-core-ui .button.button-large {
    padding: 10px 40px !important;
    background: #3e4684 !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
}





/* Input Fields */
body.login form .input,
body.login form input[type=checkbox],
body.login input[type=text],
body.login input[type=password] {
    background: #fff !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
    border: 1px solid #ddd !important;
}

/* Label dan Elemen Lainnya */
body.login label {
    font-weight: 600 !important;
    color: #3e4684 !important;
}



/* second security password */

/* body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
} */
.security-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.security-container input {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.security-container button {
  padding: 10px;
  width: 100%;
  background-color: #0073aa;
  color: white;
  border: none;
  cursor: pointer;
  margin: 5px 0;
}
.security-container button.logout {
  background-color: #dc3545;
}
.error-message {
  color: red;
}
.remember-device {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}
.remember-device input {
  margin-right: 5px;
}
