
/* Start varibles */

:root{
    --main-color-gradient: linear-gradient(to right, rgba(37, 64, 143,1), rgba(48, 209, 201,1) 80%);
    --secondry-color-gradient: linear-gradient(to right, rgba(210, 35, 42,1), rgba(22, 4, 68,1) 80%);
    --yellow-color: #FFEB00;
    --red-color: rgba(210, 35, 42,1);
    --bluedark-color:#00334c;
    --bluelight-color: rgb(78, 194, 192);
}

/* End varibles */


html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



.main-create-account{
    margin-top: 40px;
    text-align: right;
    flex: 1;


}

.create-content{
    margin-top: 90px;
}

.create-content h3{
    font-family: 'DG Forsha Scribble';
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 11px;
    color: var(--yellow-color);
}

.create-content h3 span{
    background: var(--main-color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.create-content .info{
    color: var(--bluedark-color);
    font-family: 'El Messiri';
    font-weight: bold;
    margin-top: 25px;
}

.create-content form label{
    color: var(--bluedark-color);
    font-family: 'El Messiri';
    font-weight: bold;
    font-size: 19px;
    display: block;
}



.create-content form label svg{
    color: var(--bluelight-color);
}

.create-content form input{
    display: block;
    font-family: 'Hacen Algeria Bd';
    font-size: 20px;
    margin-bottom: 8px;
    width: 100%;
    padding: 4px 10px;
    border: 3px var(--bluedark-color) solid;
    border-radius: 10px;
}



.create-content form input:focus{
    border: 3px var(--bluedark-color) solid;
    box-shadow: 0 0px 9px var(--bluelight-color);
    outline: none;
}

.create-content form input[type="submit"]{
  font-family: "El Messiri";
  font-weight: bold;
  text-decoration: none !important;
  background: var(--bluedark-color);
  padding: 5px 10px;
  box-shadow: 0px 0px 6px 0px var(--bluedark-color);
  border-radius: 15px;
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all linear 0.2s;
  width: 100%;
}

.create-content form input[type="submit"]:hover{
    color: var(--bluedark-color);
    background: #fff;
}



.create-content form .forget-password,
.create-content .new-account{
    font-family: 'El Messiri';
    font-weight: bold;
    margin-top: 17px;
    color: var(--bluedark-color);
}

.create-content form .forget-password a,
.create-content .new-account a{
    background: var(--secondry-color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.create-content form .forget-password a:hover,
.create-content .new-account a:hover{
    background: var(--main-color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
}

.create-content .password{
    display: flex;
    justify-content: space-between;
    margin: 10px 0px;
    gap: 15px;
}


@media only screen and (max-width: 575px){
    .create-content .password{
        flex-direction: column;

    }
}

.error-message{
    background: var(--red-color);
    font-family: 'Hacen Algeria Bd';
    font-family: 'Expo Arabic Book';
    color: #fff;
    padding: 5px 6px;
    border-radius: 10px;
    margin-bottom: 10px;
}




.main-create-account .login-img{
    display: flex;
    justify-content: center;
    align-items: center;

}


.main-create-account .login-img img{
    width: 100%;
}

/* SweetAlert Custom Styles */
.swal-custom-popup {
    font-family: 'El Messiri', sans-serif;
    border-radius: 15px;
}
.swal2-popup {
    font-family: 'El Messiri', sans-serif !important;
    border-radius: 15px !important;
}
.swal2-title {
    font-family: 'DG Forsha Scribble', sans-serif !important;
    font-size: 28px !important;
    color: var(--bluedark-color);
}
.swal2-content {
    font-family: 'El Messiri', sans-serif !important;
    font-size: 18px !important;
}

/* Custom Dropdown Styles for Create Account */
.custom-dropdowns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
    background: var(--bluelight-color);
    border-radius: 15px;
    font-family: "El Messiri";
    width: fit-content;
    margin: auto;
    text-align: right;
}

.custom-dropdown {
    position: relative;
    cursor: pointer;
    width: fit-content;
}

.custom-dropdown .selected {
    padding: 6px;
    padding-left: 35px;
    padding-right: 10px;
    background: #fff;
    border-radius: 30px;
    position: relative;
    font-size: 18px;
    color: #000;
    border: 2px solid transparent;
    transition: 0.3s;
    text-align: center;
    width: fit-content;
}

.custom-dropdown .selected::before {
    content: "\f13a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow-color);
    font-size: 20px;
    transition: 0.3s;
}

.custom-dropdown.active-select .selected {
    border-color: var(--bluedark-color);
}

.custom-dropdown.active-select .selected::before {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 10;
}

.custom-dropdown.active-select .dropdown-options {
    max-height: 300px;
    overflow: auto;
    width: 100%;
}

.dropdown-options li {
    padding: 10px 15px;
    transition: 0.2s;
    font-size: 16px;
}

.dropdown-options li:hover {
    background: var(--yellow-color);
    color: #000;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    direction: rtl;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: calc(50% - 14px);
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    font-size: 18px;
}

.toggle-password:hover {
    color: #667eea;
}
