@import url("variable.css");

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
  
   display: flex;
   background: url("../assets/images/ChatGPT\ Image\ Aug\ 20\,\ 2026\,\ 08_56_32\ AM.png");

   justify-content: center;
   align-items: center;
   min-height: 100vh;
   background-size: cover;
   object-fit: cover;
}

section {
    display: flex;
    flex-direction: column;
    width: 500px;

    gap: 20px;
    justify-content: center;

    padding: 20px;
    border-radius: 5px;
    /* border: 2px solid black; */
    /* backdrop-filter: blur(10px); */



}

a {
    width: 100%;
    border: 1px solid rgb(43, 179, 241);
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    color: rgb(43, 179, 241);
    font-weight: bold;
}

a:hover {
    background-color: rgb(238, 237, 237);
}

.input-group {
    position: relative;
}

.input-group input{
    color: black;
    width: 100%;
    height: 60px;
    border: none;
    outline: none;
    padding: 0px 10px;
    margin: 3px 0px;
  
    border: 1px solid rgb(212, 211, 211);
    font-size: 15px;
    color: white;
}
.input-group select{
     color: black;
    width: 100%;
    height: 60px;
    border: none;
    outline: none;
    padding: 0px 10px;
    margin: 3px 0px;
  
    border: 1px solid rgb(212, 211, 211);
    font-size: 15px;
    

}


.input-group input {
 
    width: 100%;
    height: 60px;
    border: none;
    outline: none;
    padding: 0px 10px;
    margin: 3px 0px;
   color: black;
    border: 1px solid rgb(212, 211, 211);
    font-size: 15px;

}



.input-group input:focus {
    border: 1px solid black;
}

.btn-group button {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    padding: 0px 5px;
    margin: 3px 0px;
}

.already-btn {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    padding: 0px 5px;
    margin: 3px 0px;
}

.btn-group label {
    display: flex;
    justify-content: center;
    color: green;
}

.btn-group .register-btn {
    background-color: rgb(43, 179, 241);
    color: white;
    /* border-radius: 10px; */
}

.already-btn {
    color: rgb(17, 1, 1);
    /* border-radius: 10px; */
    background-color: white;
    font-weight: bold;
}

.already-btn:hover {
    background-color: rgb(240, 238, 238);
}

.fa-facebook {
    color: rgb(61, 122, 236);
}

.fa-github {
    color: rgb(8, 9, 10);
}

.fa-instagram {
    color: rgb(218, 9, 190);
}

.or {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons .icons {
    font-size: 40px;
    margin: 0px 20px;
}

h3 {
    color: white;
    font-size: 25px !important;
    display: flex;
    justify-content: center;
}

/* Overlay Section */
.overlay {
    display: none;
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.86);
    justify-content: center;
    align-items: center;
}

.overlay .popup {
    background-color: white;
    padding: 10px 30px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    height: 150px;
}

.popup {
    display: flex;
    flex-direction: column;
    gap: 20px;

    align-items: center;
}

.popup button {
    width: 20%;
    height: 10%;
    border: none;
    outline: none;
    padding: 4px 10px;
    font-weight: bold;
    border: 1px solid var(--success-color);
    border-radius: 5px;
    transition: var(--ts-);
}

.popup button:hover {
    background-color: var(--success-color);
    color: white;
    cursor: pointer;
}

.popup h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--success-color);
}

/* Password Eye Button */
.close-eye {
    position: absolute;
    right: 20px;
    bottom: 90px;
}

.input-group span {
    font-size: 15px;
}

@media screen and (max-width: 576px) {
    body {
        min-height: 100vh;
        padding: 16px 0;
    }

    section {
        width: min(calc(100% - 32px), 500px);
        padding: 12px;
    }

    .popup{
        width: min(calc(100vw - 32px), 400px);
        height: auto;
        min-height: 150px;
        padding: 20px 16px;
    }

    .popup button{
        width: auto;
        min-height: 36px;
    }
}
@media screen and (min-width:1000px) {
   body{
      justify-content: end;
   }
   h3{
      font-size: 30px;
   }
   section {
      margin:100px;

      
   }
}

body {
    justify-content: center;
    padding: 24px;
    background-position: center;
}

section {
    width: min(100%, 540px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: rgba(15, 32, 54, 0.84);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(14px);
}

section form {
    width: 100%;
}

h3 {
    margin-bottom: 18px;
    color: white;
    font-size: 1.6rem !important;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.role-option {
    position: relative;
}

.role-option input {
    position: absolute;
    opacity: 0;
}

.role-option span {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    color: #dbeafe;
    cursor: pointer;
    font-weight: 600;
}

.role-option input:checked + span {
    border-color: #57b8ed;
    background: #268bc4;
    color: #fff;
}

.input-group input,
.input-group select {
    height: 48px;
    margin: 5px 0;
    padding: 0 13px;
    border: 1px solid #d5deea;
    border-radius: 8px;
    background: #fff;
    color: #172b4d;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #57b8ed;
    box-shadow: 0 0 0 3px rgba(87, 184, 237, 0.2);
}

.input-group span {
    display: block;
    color: #fecaca;
    font-size: 0.8rem;
}

.btn-group .register-btn,
.already-btn {
    min-height: 44px;
    border-radius: 9px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.btn-group .register-btn {
    background: #268bc4;
}

.btn-group .register-btn:hover {
    background: #1975aa;
}

.already-btn {
    color: #e2e8f0;
    background: transparent;
}

.already-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 576px) {
    body {
        padding: 16px 0;
    }

    section {
        padding: 24px 20px;
    }
}