/* Define Poppins como fonte padrão */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


body, input, select, button {
    font-family: 'Poppins', sans-serif;
}

.custom-profile {
  max-width: min(1360px, 100%) !important;
  margin: 28px auto !important;
  width: 100% !important;
  /*background: #fff;
  padding: 20px;*/
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

select {
  border-radius: 10px;
}

.custom-profile input[type="text"],
.custom-profile input[type="email"],
.custom-profile select,
.security-fields input[type="password"] {
  border-radius: 5px;
}

.profile-section {
  background: #47767E3D;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.profile-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  /*color: #333;*/
  border-bottom: 3px solid #fff;
  padding-bottom: 5px;
}

.profile-section input,
.profile-section select {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #333;
  height: 35px;
}


.profile-section label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #333;
  }

.custom-profile .field-required-marker {
  color: #dc2626;
  font-weight: 800;
}

.custom-profile .required-fields-note {
  color: #53676d;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 14px;
}

.kyc-status-note {
  color: #47767E;
  font-size: 12px;
  margin-bottom: 6px;
}

.kyc-rejection-note {
  color: #f35b04;
  font-size: 12px;
  margin-bottom: 12px;
}

.kyc-grid {
  display: grid;
  grid-template-columns: 35% 30% 35%;
  gap: 10px;
  align-items: start;
}

.kyc-column {
  min-width: 200px;
}

.kyc-left .kyc-document-type {
  margin: 0;
}

.kyc-document-type select {
  width: 50%;
  min-width: 200px;
}

.kyc-middle,
.kyc-right {
  display: grid;
  grid-auto-rows: minmax(36px, auto);
  row-gap: 10px;
}

.kyc-middle .kyc-row {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.kyc-right .kyc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kyc-right input[type="file"] {
  font-size: 12px;
  max-width: 100%;
}

.kyc-right input[type="file"]::file-selector-button {
  background: #e9ecef;
  color: #333;
  border: 1px solid #c9c9c9;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.kyc-right input[type="file"]::-webkit-file-upload-button {
  background: #e9ecef;
  color: #333;
  border: 1px solid #c9c9c9;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.kyc-view-button {
  display: inline-block;
  background: #47767E;
  color: #edf6f9;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.kyc-view-button:hover {
  background: #3a6369;
}

@media (max-width: 900px) {
  .kyc-grid {
      grid-template-columns: 1fr;
  }

  .kyc-document-type select {
      width: 100%;
  }

  .kyc-right .kyc-row {
      flex-direction: column;
      align-items: flex-start;
  }
}

.profile-photo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.photo-container {
  width: 110px !important;
  height: 110px !important;
  overflow: hidden;
  border-radius: 100%;
  border: 2px solid #ddd;
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(71, 118, 126, 0.14), rgba(243, 91, 4, 0.12));
  color: #47767e;
  font-size: 42px;
}

.profile-photo input {
  display: none;
}

#photo_size {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
}

.profile-photo label {
  background: #47767E;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-grid p {
  flex: 1 1 45%;
}

.form-grid input, 
.form-grid select, 
.form-grid textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
}

.form-divider {
  height: 2px;
  background: #0073e6;
  margin: 20px 0;
  border-radius: 5px;
}

.form-submit-container {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

button#save-profile-button {
  background-color: #47767E;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
}

button#save-profile-button:hover {
  background: #f35b04;
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-group select {
  width: 30%;
}

.phone-group input {
  flex-grow: 1;
}

.link-section {
  background: #f1f3f6;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-section button {
  background: #28a745;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.link-section button:hover {
  background: #218838;
}

@media (max-width: 768px) {
  .form-grid {
      flex-direction: column;
  }

  .security-fields {
      flex-direction: column;
  }
}


/* ------------------ */
/* Estiliza o popup */
/* ------------------ */
/*
#custom-popup {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#custom-popup.popup-overlay {
  display: flex;
}

.popup-content {
  background: #47767E;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #edf6f9;
  font-family: 'Poppins', sans-serif;
}

.popup-buttons {
  margin-top: 15px;
}

.popup-buttons button {
  padding: 10px 20px;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-success {
  border-left: 5px solid #4CAF50;
}

.popup-error {
  border-left: 5px solid #F44336;
}
*/

.grpms-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #47767E;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 9999;
}
.grpms-popup.visible { opacity: 1; }
.grpms-popup.error { background: #f35b04; }
.grpms-popup.success { background: #4CAF50; }


#billing_phone_code {
  max-width: 15%;
}

#language {
  max-width: 50%;
}

.security-section {
  max-width: 100% !important;
  margin: 20px auto;
  width: 100% !important;
  background: #47767E3D;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
}

.security-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  /*color: #333;*/
  border-bottom: 3px solid #fff;
  padding-bottom: 5px;
}

.security-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.security-fields p {
  flex: 1 1 calc(33.333% - 10px);
  margin-bottom: 10px;
}

.security-fields input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}

.security-fields label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #333;
}


.security-fields .password-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.security-fields .password-toggle input {
  padding-right: 40px;
  height: 35px;
}

.security-fields .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #0073e6;
}

/* .security-section #security-form .form-submit-container {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100%;
  margin-top: 15px;
} */

.security-section #security-form .form-submit-container {
  text-align: right;
}

#change-password-button {
  display: inline-block;
}


button#change-password-button {
  background-color: #47767E;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button#change-password-button:hover {
  background: #f35b04;
}

/* Para telas menores, garantir boa responsividade */
@media (max-width: 768px) {
  .security-fields {
      flex-direction: column;
  }

  .security-fields p {
      flex: 1 1 100%;
  }
}

body.dark-theme div.elementor-element div.elementor-widget-container div.elementor-shortcode #custom-profile-container #profile-form .profile-section input,
body.dark-theme div.elementor-element div.elementor-widget-container div.elementor-shortcode #custom-profile-container #profile-form .profile-section select {
  font-family: Poppins, sans-serif !important;
  font-size: 12px !important;
  height: 40px;
}

body.dark-theme div.elementor-element div.elementor-widget-container div.elementor-shortcode #custom-profile-container #profile-form .profile-section select#billing_phone_code {
  max-width: 15%;
} 
