@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1)), url(../assets/res1.jpg);
    background-size: cover;
    background-position: center;
}

.wrapper{
    margin: 40px;
    width: 420px;
    max-height: 650px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(255, 255, 255, .2);
    color: #fff;
    padding: 30px 40px;
    border-radius: 20px;

}

.wrapper h1{
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input,
.input-box textarea,
.input-box select{
    width: 100%;
    background: transparent;
    font-size: 16px;
    color: #fff;
    padding: 15px 40px 15px 20px;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    resize: none;
    appearance: none;
}

.input-box textarea {
    height: 100px;
    padding: 20px;
    border-radius: 20px;
}

.input-box select {
    padding: 15px 20px;
    cursor: pointer;
}

.input-box input::placeholder,
.input-box textarea::placeholder,
.input-box select::placeholder{
    color: #fff;
}

.input-box i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

/* .wrapper .btn{
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    color: #333;
    font-weight: 600;
    margin-top:3rem;
}

.wrapper .btn:hover{
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border-color: #fff;
}

.wrapper .register-link{
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
} */

.register-link p a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover{
    text-decoration: underline;
}

.input-box select {
    width: 100%;
    background: transparent;
    font-size: 16px;
    color: #fff;
    padding: 15px 20px;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none; /* Remove default arrow in Safari */
    -moz-appearance: none; /* Remove default arrow in Firefox */
    
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
}

.input-box select option {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
}

.input-box select:focus {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.input-box select:focus option {
    background: rgba(0, 0, 0, 0.7); /* Slightly more opaque on focus */
}

.input-box select:disabled {
    color: rgba(255, 255, 255, 0.5);
}

.container-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap:0 50px;
}
.container-btn .btn{
    width: 50%;
    height: 45px;
    background: var(--bg-color);
    border: none;
    outline: none;
    border-radius:40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--dead-color);
    font-weight: 600px;
}

.container-btn .btn:hover{
    background: rgba(255, 255, 255, .2);
    color: var(--bg-color);
    border-color: var(--bg-color);
}
.container-btn a {
    color: var(--bg-color);
    font-size: 1.5rem;
    font-family: "Jost", sans-serif;
    margin: 30px;
}

.container-btn a:hover {
    color: #fff;
}

@media only screen and (max-width:1024px){
    .container-btn {
        left: -180px;
        top: -40px;
    }
}

@media only screen and (max-width:768px){
    .wrapper {
        width: 360px;
        padding: 25px 35px;
    }
    .wrapper h1 {
        font-size: 32px;
    }
    .wrapper .input-box {
        height: 45px;
        margin: 25px 0;
    }
    .container-btn {
        left: -130px;
        top: 0px;
    }
}

@media only screen and (max-width:480px){
    .wrapper {
        width: 300px;
        padding: 20px 30px;
    }
    .wrapper h1 {
        font-size: 28px;
    }
    .wrapper .input-box {
        height: 40px;
        margin: 20px 0;
    }
    .input-box input, .input-box textarea, .input-box select {
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 30px;
    }
    .input-box textarea {
        height: 80px;
    }
    .wrapper .btn {
        height: 40px;
        font-size: 14px;
    }
    .container-btn {
        left: -40px;
        top: -50px;
    }
}

@media only screen and (max-width: 320px) {
    .wrapper {
        width: 280px;
        padding: 20px 30px;
    }

    .wrapper h1 {
        font-size: 28px;
    }

    .wrapper .input-box {
        height: 40px;
        margin: 20px 0;
    }

    .input-box input, .input-box textarea, .input-box select {
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 30px;
    }

    .input-box textarea {
        height: 80px;
    }

    .wrapper .btn {
        height: 40px;
        font-size: 14px;
    }

    .container-btn {
        left: -35px;
        top: -40px;
    }

    .register-link p a {
        font-size: 12px;
    }
}