/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    /* font-family: "Poppins", sans-serif; */
    display: flex;
    justify-content: center;
}

html{
    scroll-behavior: smooth;
}
form{
    height: 160vh;
}

/* TRANSITION */

.btn{
    transition: all 300ms ease;
}

/* MAIN INFO */
.container{
    height: 160vh;
    width: 55vw;
    
}
.title {
    font-size: 2rem;
    font-weight: 700;
    
}
.information{
    font-size: 1rem;
}

.subtitle{
    font-weight: 600;
}

.input-detail, .input {
    font-weight: 600;
}

.main-info{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 80vw;
    margin: 2rem auto;
}

.dropdown{
    display: flex;
    flex-direction: column;
    position: relative;
}

.select{
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
} 

.select input.selected, .input-box input {
    width: 100%;
    padding: 10px;
    padding-right: 3rem;
    border: 2px solid #c9c7c7;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    position: relative;
}

.select:hover {
    background: rgb(182, 182, 182);
}

.caret {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
    position: absolute;
    right: 1rem;
    pointer-events: none;
}


.menu {
    display: none;
    list-style: none;
    margin: 4.5rem 0 0 0 ;
    padding: 0;
    position: absolute;
    width: 100%;
    border: 2px solid #c9c7c7;
    background-color: #fff;
    z-index: 1;
}

.menu li {
    display: flex;
    cursor: pointer;
    padding: 0.2rem;
    margin-top:0;
}
.menu li:hover{
    background: rgb(182, 182, 182);
}

.active{
    background: rgb(255, 255, 255);
}

.menu-open{
    display: block;
    opacity: 1;
}


.input-box {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

input[type="text"] {
    padding: 10px;
    padding-right: 1rem;
    border: 2px solid #c9c7c7;
    border-radius: 0.3rem;
    font-size: 14px;
    box-sizing: border-box;
}

.input-detail {
    margin-bottom: 0.5rem;
    
}


.plus-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    border: none;
    background-color: #535353;
    color: white;
    font-size: 16px;
    border-radius: 0.3rem 0.3rem 0.3rem 0.3rem; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.plus-btn:hover {
    color: #000;
}

.input-field-container {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.input-field[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed; 
}

input[type="text1"] {
    width: calc(100% - 50px);
    padding: 10px;
    padding-right: 1rem; 
    border: 2px solid #c9c7c7;
    border-radius: 0.3rem;
    font-size: 14px;
    box-sizing: border-box;
}

.minus-btn {
    right: 0; 
    top: 0;
    height: 2.4rem;
    width: 50px; 
    border: none;
    background-color: #535353;
    color: white;
    font-size: 16px;
    border-radius: 0.3rem 0.3rem 0.3rem 0.3rem; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.minus-btn:hover {
    background-color: #c82333; 
}

/* PERSONAL INFO */


.personal-info{
    display: grid;
    grid-template-columns: 2; 
    max-width: 80vw; 
    margin: 1rem auto; 
}



.location-info {
    display: grid;
    grid-template-rows: auto auto; 
    grid-template-columns: 1fr; 
}

.first-row {
    grid-column: 1 / -1; 
}

.second-row {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
}

.location-info2 {
    display: grid;
    grid-template-rows: auto auto; 
    grid-template-columns: 1fr; 
}

/* CONTACT INFO */

.contact-info{
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; 
    max-width: 80vw; 
    margin-bottom: 1rem;
}

.input-boxes {
    position: relative;
    display: flex;
    flex-direction: column;
}



/* CHECK SECTION*/

#administ-name{
    margin-top: 1rem;
}

.check-box{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.extra-checkboxes{
    display: none;
}

#first-nameserver{
    margin-top: 1rem;
}

.btn{
  height: 2.5rem;
  width: 10rem;
  color: #ff0000;
  background-color: #ffffff;
  border: 2px solid #c9c7c7;
  border-radius: 0.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.btn:hover {
  background-color: #f0f0f0; /* Light grey background on hover */
}

input.required-empty {
    border: 2px solid red;
    background-color: #ffcccc; /* Light red background for better visibility */
}
