.form1{
    font-family: "Roboto", sans-serif;
    width:650px;
    margin:30px auto 30px auto;
    background:linear-gradient(to right, #ffffff 0%, #fafafa 50%, #ffffff 99%);
    border-radius: 10px;
    padding: 30px;
}
.form1 .reg_title{
    position: relative;
    font-size: 19px;
    font-weight: 500;
    padding: 10px;
    margin-bottom: 24px;
    background-color: #fff;

}
.form1 .reg_title::before{
    content: '';
    position: absolute;
    left:5%;
    bottom:0;
    height:3px;
    width: 50%;
    background: #9b59b6;
}
.form1 .user-details{
    display: block;
    width: 100%;
    justify-content: right;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 100%;
}

.form1 .user-details input[type=text], input[type=password],input[type=email], textarea{
    color: #565656;
    width: 85%;
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 3px #ddd;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
}
.form1 .user-details input[type=text], input[type=password],input[type=email]{
    height: 45px;
}

.form1 .user-details input[type=file]
{
    display: inline;
    background-color: #ffffff;
}
.form1 .user-details label{
    width: 90%;
    border: 1px solid #f14da7;
    box-shadow: 0 .05px 1px 0;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
   text-align: center;
   font-size: 140%;
   box-shadow: #565656;
}

.form1 .user-details select{
    color: #565656;
    min-width: 90px;
    height: 45px;
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 3px #ddd;
    box-shadow: inset 0 1px 3px #ddd;
    border-radius: 4px;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
}

.form1 .user-details input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, select:focus {
    background-color: #ddd;
    outline: none;
  }
  .form1 .user-details input[type=checkbox]
  {
    height: 20px;
    width: 20px;
    background-color: #eee; 
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 3px #ddd;
    box-shadow: inset 0 1px 3px #ddd;
  }

.form1 .user-details p{
    margin: 24px 0px 10px 0px;
}

.form1 .user-details .rred{
    color: red;
    font-weight: bold;
    font-size: large;
    font-style: italic;
    text-decoration: line-through;

}

.form1 .user-details .login_rf{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 24px;

}
.form1 .user-details .login_rf_l{

    width: 50%;
}
.form1 .user-details .login_rf_r{
    width: 50%;
}
.form1 .user-details .login_rf a{
    color: #f14da7;
}


.form1 .btn1{
    background-color: #04AA6D;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 80%;
    min-width: 250px;
    opacity: 0.9;
    border-radius: 5px;
}
.form1  .btn1{
    opacity: 1;
}


.form1  .btn2{
    background-color: #04AA6D;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: white;
    padding: 10px 20px;
    margin: 8px 10px;
    border: none;
    cursor: pointer;
    width: 100px;
    opacity: 0.9;
    border-radius: 4px;
}
.form1 .btn2{
    opacity: 1;
}

  .umenu{
    display: block;
    width: 600px;
    background-color: #fafafa;
    margin: auto;
    justify-content: left;

  }
  .umenu a{
    color: #201212;
    text-decoration: none;
    font-size: 120%;
  }

.umenu ul {
    list-style-type: none;
    text-align: left;
    margin-left: 34px;
  }

.umenu ul li {
    position: relative;
	padding: 24px;
}

/* ===== prod_modal background ===== */
.prod_modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    height: 100%;
    overflow: auto;
    background-color: rgb(255 255 255 / 50%);
    margin: auto;
    text-align: center;

}

/* ===== prod_modal box ===== */
.prod_modal-content {
    background-color: #fff;
    margin-left: 34px;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    max-width: 90%;
    min-width: 600px;
    box-shadow: 0 4px 8px #ad3232ff;
    animation: fadeIn 0.3s;
}

/* ===== Search_modal background ===== */
.search_modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    height: 100%;
    overflow: auto;
    background-color: rgb(255 255 255 / 50%);
    margin: auto;
    text-align: center;

}

/* ===== prod_modal box ===== */
.search_modal-content {
    background-color: #fff;
    margin-left: 34px;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    max-width: 90%;
    min-width: 600px;
    box-shadow: 0 4px 8px #ad3232ff;
    animation: fadeIn 0.3s;
}

/* ===== Close button ===== */
.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
.close:hover {
  color: #e74c3c;
}

/* ===== Close button ===== */
.s_close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
.s_close:hover {
  color: #e74c3c;
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Optional button styling */
button {
    padding: 5px 8px;
    background-color: #d6831e;
    color: white;
    border: none;
    border-radius: 4%;
    cursor: pointer;
    margin-right: 4px;
}
button:hover {
  background-color: hsl(123, 72%, 25%);
}


@media all and (max-width: 650px) {
    .form1{
        width:100%;
    } 
    .form1 .user-details input{
        width: 95%;
        margin-bottom: 30px;
    }

}
@media all and (max-width: 480px) {
 .form1 .user-details select {
    width: 80%;
 }
}