/* Styles for the modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sapafy-modal {
    display: none;
    position: fixed;
    top: 40px;
    left: 600px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 350px; /* Max width of modal content */
}

.sapafy-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 500px;
    max-width: 200px;
}


.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 400px;
    max-width: 400px;
}

.responsive-image {
  max-width: 100%;
  height: auto;
}



/* Styles for the tab content */
.tab-content {
    display: none;
}


.tab-content.active {
    display: block;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
}

/* Styles for the fadeaway message */
.fadeaway-message {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; /* Success message background color */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fadeaway-message.show {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}


/* Styles for the tabs */
.tab-buttons {
    display: flex;
    justify-content: center;
    background-color: #f2f2f2;
    padding: 10px 0;
}

.tab-button {
    background-color: #ddd;
    color: #333;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.tab-button.active {
    background-color: #4CAF50;
    color: white;
}

/* Apply a specific width to the 'fullnameInput' field */
#fullnameInput {
    width: 100%; /*  */
}
#businessNameInput {
    width: 100%; /*  */
}
#posImageContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px; /* */
}
#businessFullAddress {
    width: 100%; /*  */
}
#businessOwnerPassport {
    width: 100%; /*  */
}
#emailInput {
    width: auto; /*  */
}
#mobileInput {
    width: auto; /*  */
}
/* Style for select element */
#linkSapafyToPOS {
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Style for input fields */
#numberOfAccounts,
input[type="text"] {
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Optional: Style for the container of additional input fields */
#additionalFields {
  margin-top: 10px;
}

#posType,
#isRegisteredWithGovernment {
  width: calc(100% - 20px); /* Make inputs full width with a little padding */
  max-width: 200px; /* Limit maximum width */
  margin: 0 auto 10px; /* Center inputs and add spacing */
  padding: 10px; /* Add padding */
  border: 1px solid #ccc; /* Add border */
  border-radius: 5px; /* Add border radius */
  box-sizing: border-box; /* Ensure padding is included in width calculation */
}
#posType[multiple],
#isRegisteredWithGovernment[multiple] {
  height: auto; /* Make select element auto-height for multiple selection */
}

.isRegisteredWithGovernment,
.hasValidPassport {
  width: 100%; /* Make select elements full width */
  max-width: 300px; /* Limit maximum width */
  margin-bottom: 10px; /* Add spacing between elements */
  padding: 10px; /* Add padding */
  border: 1px solid #ccc; /* Add border */
  border-radius: 5px; /* Add border radius */
  box-sizing: border-box; /* Ensure padding is included in width calculation */
}

#attachmentField {
  display: none; /* Initially hide attachment field */
}

#idCardMessage {
  display: none; /* Initially hide ID card message */
  color: red; /* Set text color */
  font-style: italic; /* Italicize text */
}

.select-field,
.file-upload-button {
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.file-upload-container label {
  display: block;
  margin-bottom: 5px;
}

.file-upload-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

.file-upload-input {
  display: none;
}

.error-message {
  color: red;
  font-style: italic;
  margin-top: 5px;
}



/* Styles for the form fields */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 1px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Button styles */
button {
    background-color: #297c6d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Add hover effect to buttons */
button:hover {
    /*background-color: #45a049;*/
}

@media only screen and (max-width: 600px) {
  .text-field {
    max-width: calc(100% - 20px); /* Adjust maximum width for smaller screens */
  }
}