/* Global Styles */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://iaoi.in/assets/img/conference_backgound.png') no-repeat center bottom;
    background-size: auto;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    font-family: sans-serif;
    color: #333;
    font-size: 16px;
    image-rendering: crisp-edges; /* Ensures better quality */
}


/* Dark Overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Container Box */
.box {
    width: 600px;
    padding: 50px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 80vh;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Custom scrollbar styles */
.box::-webkit-scrollbar {
    width: 8px; /* Adjust the width of the scrollbar */

}

.box::-webkit-scrollbar-track {
    background-color: #efd7d9; /* Background color of the track */
    border-radius:0px 10px 10px 0px; /* Rounded corners for track */
}

.box::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 1px solid #efd7d9; /* Optional: Adds border to thumb */
}



/* Headings */
h1 {
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

h5,
h6 {
    font-size: 16px;
    font-weight: 600;
    color: #555;
}

/* Labels */
label {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-align: left;
    display: block;
    margin-top: 10px;
}

/* Inputs & Select */
input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    background: transparent;
    color: #333;
}

input::placeholder,
textarea::placeholder {
    color: #888;
    font-size: 16px;
    font-weight: 600;
}

/* Input Container: Label & Input in a Single Row */
.input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

/* Labels */
.input-container label {
    flex: 1; /* Adjust width based on content */
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-align: left;
}
.suggestions {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background: white;
    width: 200px;
}
.suggestion-item {
    padding: 8px;
    cursor: pointer;
}
.suggestion-item:hover {
    background: #f0f0f0;
}
/* Input Fields */
.input-container input,
.input-container select,
.input-container textarea {
    flex: 2; /* Input takes more space */
    width: 80%; /* Ensure full width */
    padding: 8px;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #333;
    font-family: sans-serif;
}


/* Input fields */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: calc(100% - 4px);
    padding: 8px;
    margin: 2px 2px;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    background-color: #f3f7fb;
    border-bottom: 1px solid #3AAFA9;
}

/* Input focus effect */
input:focus,
select:focus,
textarea:focus {
    background-color: #f3f7fb;
    border-bottom: 1px solid #3AAFA9;
}

/* Buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.submit-button,
.back-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: 0.3s ease-in-out;
}

.back-button {
    background-color: black;
}

.submit-button {
    background-color: #3AAFA9;
}

.back-button:hover {
    background-color: #333;
}

.submit-button:hover {
    background-color: #2B7A78;
}

/* Error Message */
#error {
    color: red;
    font-size: 14px;
    display: none;
}

/* Steps Hidden by Default */
#step2,
#step1 {
    display: none;
}

/* Terms & Conditions Checkbox */
.terms-container input {
    margin-right: 1px;
}

/* Member Verification Tags */
.tag {
    display: inline-flex;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    position: relative;
    font-size: 14px;
}

.verified {
    background-color: #3AAFA9;
}

.not-found {
    background-color: #dd3636;
}

.delete {
    margin-left: 10px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}
.button-container {
    display: flex;
    gap: 15px; /* Space between buttons */
}
.table{
    border-collapse: separate;
    width: 80%;
    border-spacing: 0 10px;
    text-align: center;
    justify-self: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.phone-input-container{
    display: flex;
    width: 66%;
    gap: 10px;
}
.phone-input-container select {
    margin: 2px;
}
.input-wrapper {
    position: relative;
    display: inline-block;
}
.error-message {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 5px;
}
.error {
    color: #dd3636;
    font-size: 16px;
    font-weight: 600;
}
input.error, textarea.error {
    border-bottom: 1px solid #dd3636 !important;
}
.error:focus {
    background-color: #f8d7da; 
    color: white; 
}
.error::placeholder {
    color: #dd3636;
}
.input-with-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 66%;
}

.input-with-button button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.input-with-button button:hover {
    background-color: #0056b3;
}

.member-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 5px;
    font-size: 14px;
}

.member-tag .remove-tag {
    background: #dd3636;
    color: white;
    border: none;
    padding: 0px 6px 2px 6px;
    margin-left: 8px;
    cursor: pointer;
    border-radius: 4px;
}
.verification {
    width: 100%;
    justify-self: center;
    margin-top: 15px;
    text-align: start;
}
.disabled-style {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.verify_button{
    padding: 8px 15px;
    justify-self: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: 0.3s ease-in-out;
    background-color: #3AAFA9;
}
.verify_button:hover {
    background-color: #2B7A78;
}