@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Cairo:300,400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins');

*, *::before, *::after {
    box-sizing: border-box;
    padding:0;
    margin:0;
}

body, html {
    margin: 0;
    padding: 0;
        font-family: 'Poppins', sans-serif;
    color: white;
    overflow-x: hidden;
}

html[dir="rtl"] body {
    font-family: "Cairo", sans-serif;
}

p {
    margin:0;
    padding:0;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    color:#000;
    width:87%;
    max-width:380px;
}

.card h1 {
    font-size:21px;
    font-weight:500;
    margin-top:10px;
    margin-bottom:23px;
}

.logo img {
    width:100%;
    max-width:220px;
}

input,
select {
    width: 100%;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: 400;
    color:#212529;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border:1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

input:focus,
select:focus {
    border-color: #d89c32;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.alternative a {
   text-decoration: none;
    font-weight: 600;
    color:#7f5408;
}

.login_btn {
    width:100%;
    height:46px;
    border:1px solid #c99223;
    font-weight: 400;
    font-size:20px;
    cursor: pointer;
    border-radius: 8px;
    background-color:#c99223;
    color:#fff;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: 'Poppins', sans-serif;
      -webkit-user-select: none;
    user-select: none;
}

html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] .login_btn {
    font-family: "Cairo", sans-serif;
}

.login_btn:hover {
     background-color:#d89c32;
    border-color: #d89c32;
}

.alternative {
    color:#495057;
    background:#ced4da;
    width:100%;
    border-radius:0.375rem;
    padding:1rem;
    border:1px solid #adb5bd;
    margin-top:20px;
    margin-bottom:30px;
}

.copyright p {
    color:rgba(33, 37, 41, 0.75);
    font-size:14px;
}

.alert-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    
    margin-bottom:20px;
    font-size: 14px;
    font-weight: 500;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    animation: fadeSlideIn 0.3s ease;
}

/* Error style */
.alert-error {
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.25);
    color: #ff4d4f;
}

/* Icon */
.alert-icon {
    font-size: 18px;
    line-height: 1;
}

/* Text */
.alert-text {
    flex: 1;
}

/* Animation */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px; 
    height: 40px; 
    box-sizing: border-box;
}

#toggle-password {
    position: absolute;
    right: 12px;
    top: 8px;
    cursor: pointer;
    width: 24px;  /* Icon width */
    height: 24px; /* Icon height */
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;      /* IE 10 and Edge */
    user-select: none;          /* Standard syntax */
}

html[dir="rtl"] .password-wrapper input {
    padding-right: 12px; 
    padding-left: 45px; 
}

html[dir="rtl"] #toggle-password {
 right: auto;
 left: 12px;
}


.eye-icon {
    width: 100%;
    height: auto;
}


.register_btn,
.back_btn {
    width:100%;
    height:46px;
    border:1px solid #c99223;
    font-weight: 400;
    font-size:20px;
    cursor: pointer;
    border-radius: 8px;
    background-color:#c99223;
    color:#fff;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-family: 'Poppins', sans-serif;
    -webkit-user-select: none;
   user-select: none;
       flex: 1;
    cursor: pointer;
    line-height: 0;
}

html[dir="rtl"] .register_btn,
html[dir="rtl"] .back_btn {
    font-family: "Cairo", sans-serif;
}

.register_btn:hover {
     background-color:#c18417;
    border-color: #c18417;
}


.Finalbtn { 
    background: #009900; 
    color: #fff;
    border-color: #009900;
}
.Finalbtn:hover { 
    background: #007500; 
    color: #fff;
      border-color: #007500;
}


.back_btn { 
    background: #595959; 
    color: #fff;
    border-color: #595959;
}
.back_btn:hover { 
    background: #4A4A4A; 
    color: #fff;
      border-color: #4A4A4A;
}


