/* Reset */
*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    overflow-x: hidden;
    background-color: #080710;
    font-family: 'Poppins' !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Background Shape Container */
.background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background .shape {
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 50%;
}

.shape:first-child {
    background: linear-gradient(#1845ad, #23a2f6);
    left: -180px;
    top: -180px;
}

.shape:last-child {
    background: linear-gradient(to right, #ff512f, #f09819);
    right: 300px;
    bottom: 0px;
}

/* Login Form Styling */
.loginform {
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
}
 .form-container form {
    width: 80vw ;
  
}
.step {
    width: 80vw;
      background-color: rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
}

form * {
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}

form h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

input {
    display: block;
    height: 45px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
}

::placeholder {
    color: #e5e5e5;
}

button {
    margin-top: 30px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1 1 100%;
}

/* Two columns on desktop */
.form-row.two-columns .form-group {
  flex: 1 1 calc(50% - 10px);
}

/* Three columns on desktop */
.form-row.three-columns .form-group {
  flex: 1 1 calc(33.333% - 13.33px);
}

/* Full-width fields */
.form-group.full-width {
  flex: 1 1 100%;
}

input,
textarea,
select {
    display: block;
    height: 45px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border 0.3s ease;
}

textarea {
    height: auto;
    padding: 10px;
    resize: vertical;
    min-height: 80px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #23a2f6;
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

select:focus,
select:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #23a2f6;
}
select {
    display: block;
    height: 45px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.07); /* <-- dropdown bg color */
    border-radius: 4px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D'%23ffffff'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 35px; /* for arrow */
}
select option {
    background-color: #080710; /* black background */
    color: #fff;            /* white text */
}
.checkbox-row {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #23a2f6; /* Optional styling */
  margin: 0;
}



/* ✅ Responsive Adjustments */
@media (max-width: 480px) {
    form {
        padding: 30px 20px;
    }

    form h3 {
        font-size: 24px;
    }

    label {
        font-size: 14px;
    }

    input {
        height: 40px;
        font-size: 13px;
    }

    button {
        font-size: 15px;
        padding: 10px 0;
    }

    .background .shape {
        height: 150px;
        width: 150px;
    }
}
