*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

body.reg {
    background: rgb(222, 222, 250);
    padding: 0 10px;
}

section{
    padding: 20px 100px;
}

body.register {
    background-color: rgb(222, 222, 250);
}
h1, h2, h3 {
    text-align: center;
    padding: 10px 0;
}

p {
    color: rgb(10, 10, 10);
    padding: 10px 0;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}

th {
    background-color: rgb(173, 173, 250);
    text-align: center;
    padding: 5px 5px;
}

th.none {
    border: none;
}

td {
    padding: 3px 10px;
    background-color: white;
}

td.center {
    text-align: center;
}

table input.ipbtn {
    background-color: rgb(220, 189, 248);
    cursor: pointer;
}
.ownForm {
    margin: 10% 40%;
    background-color: rgb(127, 246, 255);
    padding: 1% 0;
    border: 1px solid black;
    border-radius: 15px;
}



.ownForm2 {
    margin: 10% 38%;
    background-color: rgb(165, 127, 255);
    padding: 1% 2%;
    border: 1px solid black;
    border-radius: 15px;
}


.ownForm3 {
    margin: 10% 38%;
    background-color: rgb(255, 127, 176);
    padding: 1% 2%;
    border: 1px solid black;
    border-radius: 15px;
}

button {
    background-color: rgb(173, 173, 250);
    color: black;
    padding: 10px 20px;
    border-radius: 10px;

}

button a {
   color: black; 
}

button:hover {
    background-color: rgb(149, 149, 250); 
 }

.pInput {
    text-align: right;
    padding-right: 10%;
}

.center {
    text-align: center;
}

.center1 {
    margin: 0 auto;
}

.center2 {
    text-align: center;
    color: black;
    font-size: 0.8rem;
}
.error {
			color: red;
}

.log-in {
    max-width: 700px;
    width: 100%;
    background: rgb(222, 222, 250);
    margin: 20px auto;
    padding: 30px;
    padding-bottom: 10px;
    box-shadow: 0 0 15px 5px rgba(41, 108, 252, 0.4);
}

.edit {
    background: rgb(247, 184, 215);
}
.log-in .log-in-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1 rem;
    color: rgb(55, 75, 252);
    text-transform: uppercase;
    text-align: center;
}

.log-in .chg_pwd_title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1 rem;
    color: rgb(7, 7, 7);
    text-transform: uppercase;
    text-align: center;
}

.log-in .log-in-form {
    width: 100%;

}

.log-in .log-in-form .log-in-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.log-in .log-in-form .log-in-item label {
    width: 200px;
    color: rgb(55, 75, 252);
    margin-right: 10px;
    text-align: right;
}

.log-in .log-in-form .log-in-item label.chg_pwd {
    color: rgb(7, 7, 7);
}

.log-in .log-in-form .log-in-item .input,
.log-in .log-in-form .log-in-item .textarea {
    width: 80%;
    outline: none;
    border: 1px solid rgb(163, 163, 163);
    font-size: 15px;
    padding: 8px 10px;
    border-radius: 5px;
    transition: all 0.5s ease;
}



.log-in .log-in-form .log-in-item .textarea {
    resize: none;
    height: 40px;
}

.log-in .log-in-form .log-in-item .gender-select {
    position: relative;
    width: 80%;
    height: 40px;
}

.log-in .log-in-form .log-in-item .gender-select select {
    /* appearance: none;
    -webkit-appearance: none; */
    border: 1px solid rgb(163, 163, 163);
    background-color: rgb(239, 253, 253);
    color: rgb(117, 116, 116);
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    border-radius: 5px;
    outline: none;
}

.log-in .log-in-form .log-in-item .input:focus,
.log-in .log-in-form .log-in-item .textarea:focus,
.log-in .log-in-form .log-in-item select:focus {
    border: 1px solid rgb(55, 166, 252);
}

.error-message {
    color: red;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
}
.req-to-signup {
    text-align: center;
    margin-bottom: 0;
}

p.text-req-to-signup {
    text-align: center;
    color: rgb(55, 166, 252);
}

button.submitt {
    background-color: rgb(55, 75, 252);
    padding: 5px 15px;
    text-align: center;
    margin: 0.3rem 0 0.7rem 0;
    border-radius: 7px;
    color: rgb(253, 251, 251);
    cursor: pointer;
}

button.chg_password {
    background-color: rgb(250, 97, 97);
    padding: 5px 15px;
    text-align: center;
    margin: 0.3rem 0 0.7rem 0;
    border-radius: 7px;
    color: rgb(2, 2, 2);
    cursor: pointer;
}

button.chg_detials {
    background-color: rgb(159, 202, 252);
    padding: 5px 15px;
    text-align: center;
    margin: 0.3rem 0 0.7rem 0;
    border-radius: 7px;
    color: rgb(2, 2, 2);
    cursor: pointer;
}

button.submitt a {
    text-decoration: none;
    color: rgb(3, 3, 3);
}

button.submitt a.submitt2 {
    text-decoration: none;
    color: rgb(248, 246, 246);
}

button.chg_password:hover {
    background-color: rgb(250, 72, 72);
}

button.chg_detials:hover {
    background-color: rgb(142, 193, 252);
}
button.submitt:hover,
button.submitt a:hover {
    background-color: rgb(110, 189, 250);
}

@media (max-width: 550px) {
    .log-in .log-in-form .log-in-item {
        flex-direction: column;
        /* align-items: flex-start; */
    }

    .log-in .log-in-form .log-in-item label {
        width:fit-content;
        text-align: left;
    }
    
}

