/* General form styling */


#dw-registration-form{
    min-height: 1000px;
    /*max-width: 500px;
    margin: 40px auto;
    
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    font-family: "Outfit" sans-serif;
    text-align: center;
    padding: 0 50px;
    padding-bottom: 20px;
}


label{
    color: #080035;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
}

.field-hide{
    visibility: hidden !important;
}

.field-hide#client-type-options{
    height: 0;
}

#dw-login-form{
    font-family: "Outfit" sans-serif;
    text-align: center;
    padding: 0px;
    padding-bottom: 0px;
}

#dw-login-form ul, 
#dw-login-form li{
    text-align: left !important;
}

.textLink,
.textLink a,
a.textLink{
    font-size: 14px;
    font-weight: 700;
    color: #23527c !important;
    text-align: right;
    padding-right: 25px;
    font-family: Outfit;
}


.isIB #individual-service,
.isIB #corporate-service{
    width: 20% !important;
}

.isIB#client-type-options{
    padding: 15px 0 !important;
}

.isIB label,
.isIB div{
    text-align: left !important;
    gap: 0px !important;
   /* margin: 0px !important;
    padding: 0px !important;*/
    
}


/* Input fields */
#dw-registration-form input,
#dw-login-form input,
#dw-registration-form select {
    width: 100%;
    padding: 16px;
    margin: 8px 0;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

/* Input focus effect */
#dw-registration-form input:focus,
#dw-registration-form select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
}


#dw-registration-form #tel_country_code{
    font-family: Outfit;
    background-color: #fff; 
    cursor: not-allowed; 
    width: 80px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Make room so text doesn't overlap the eye */
    /* Keep your existing input styles here (borders, padding, etc.) */
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #94a3b8; /* Subtle gray matching your image */
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #64748b;
}

/* Password error message */
#password-error {
    font-size: 12px;
    color: red;
    margin-top: -5px;
    text-align: left;
}

/* Agreement checkbox */
#dw-registration-form label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-top: 25px;
}


#dw-registration-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}



.terms-list li{
    color: #374151;
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px; 
    list-style: none;
    text-align: left;
}

.terms-list li a{
    font-weight: 600;
    color: #16016D !important;
}





/* Submit button */
#dw-registration-form button,
#dw-login-form button{
    width: 90%;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;

    font-family: "Outfit" sans-serif;
    font-weight: 700;
    background-color: #ffc50d;
    padding: 10px 33px;
    border-radius: 8px;
    color: #000;
    margin-left: 10px;
    text-transform: uppercase;
    margin: 10px auto;
}

/* Hover effect for button */
#dw-registration-form button:hover,
#dw-login-form button:hover{
    background: linear-gradient(to right, #FF6900, #FCB900);
}

/* Response message styling */
#dw-register-response {
    margin-top: -320px;
    padding: 10px;
    padding-top: 300px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
}

#dw-register-response.success {
    color: #28a745;
    background: #eafaf1;
}

#dw-register-response.error {
    color: #dc3545;
    background: #fdecea;
}


/* Standard */
#dw-registration-form  input::placeholder {
    color: #9CA3AF;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Chrome, Safari, Edge */
#dw-registration-form  input::-webkit-input-placeholder {
    color: #9CA3AF;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Firefox */
#dw-registration-form  input::-moz-placeholder {
    color: #9CA3AF;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Internet Explorer (legacy) */
#dw-registration-form  input:-ms-input-placeholder {
    color: #9CA3AF;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


#dw-registration-form  select {
    color: #9CA3AF;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    padding: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background-color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url(https://dev.tradetaurex.com/wp-content/uploads/2026/02/arrow-select.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

#dw-registration-form  select:valid {
    color: #111827; 
}


#dw-registration-form  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#dw-registration-form  .form-group {
    display: flex;
    flex-direction: column;
}


#dw-registration-form .risk-card{
    margin-top: 50px;
}

#dw-registration-form .risk-card {
  display: flex;
  gap: 16px;
  max-width: 600px;
  padding: 24px;
  background-color: #FFFBF0; /* Creamy background */
  border-radius: 8px;
  border-left: 6px solid #FF5E00; /* Distinct orange accent */
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#dw-registration-form .icon-container {
  flex-shrink: 0;
  padding-top: 4px;
}

#dw-registration-form .content h2 {
  margin: 0 0 12px 0;
  color: #1A1A37; /* Dark navy-ish text */
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

#dw-registration-form .content p {
  margin: 0;
  color: #555555;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
}



/* Custom checkbox */
#dw-registration-form .custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px; 
  cursor: pointer;
  font-family: sans-serif;
  font-size: 14px;
  user-select: none;
}

/* Hide default checkbox */
#dw-registration-form .custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create the custom checkbox (The Box) */
#dw-registration-form .checkmark {
    position: absolute;
    /*top: 0;*/
    left: 0;
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 1px solid #8e8e8e;
    border-radius: 2.5px;
    transition: all 0.2s ease;
}

/* Style when the checkbox is hovered */
#dw-registration-form .custom-checkbox:hover input ~ .checkmark {
  border-color: #555;
}

#dw-registration-form .custom-checkbox input:checked ~ .checkmark {
  background-color: #1A1A37; 
  border-color: #1A1A37;
}

#dw-registration-form .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

#dw-registration-form .custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

#dw-registration-form .custom-checkbox .checkmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* Responsive adjustments */
@media (max-width: 480px) {
    #dw-registration-form {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 640px) {
    #dw-registration-form  .form-row {
        grid-template-columns: 1fr;
    }
}
