﻿@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'IBM Plex Sans Arabic';
    src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Almarai';
    src: url('../fonts/Almarai-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/CustomFont-Regular.ttf') format('truetype');
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

    header .logo-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }

        header .logo-container img {
            height: 60px;
            cursor: pointer;
        }

        header .logo-container .divider {
            width: 1px;
            height: 40px;
            background-color: #ddd;
        }

        header .logo-container .title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
        }

    header .nav-links {
        display: flex;
        gap: 15px;
        font-size: 16px;
        font-weight: bold;
    }

        header .nav-links a {
            text-decoration: none;
            color: #666;
            padding: 5px 10px;
            border-radius: 4px;
        }

            header .nav-links a.btn {
                color: #fff;
                background-color: #3293C2;
                padding: 10px 15px;
                font-size: 16px;
            }


.form-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 80%;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    color: #4F7AA6; /* لون العنوان */
    margin-bottom: 10px;
}

    .form-title::after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ddd;
        margin-top: 10px;
    }

.loader {
    width: 70px;
    height: 70px;
    border: 3px dotted #84CDEA;
    border-style: solid solid dotted dotted;
    border-radius: 50%;
    display: block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px dotted #094B66;
        border-style: solid solid dotted;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        animation: rotationBack 1s linear infinite;
        transform-origin: center center;
    }

.loader-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 75%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    left: 0;
    top: 0;
}

.loader-two {
    width: 70px;
    height: 70px;
    border: 3px dotted #84CDEA;
    border-style: solid solid dotted dotted;
    border-radius: 50%;
    display: block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

    .loader-two::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px dotted #094B66;
        border-style: solid solid dotted;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        animation: rotationBack 1s linear infinite;
        transform-origin: center center;
    }

#countdown {
    position: absolute;
    top: 10px;
    left: 10px;
    height: auto;
    width: 40px;
    text-align: center;
    font-weight: bold;
    color: #094B66;
    border-radius: 50%;
    padding: 5px;
}

#countdown-number {
    display: inline-block;
    line-height: 40px;
}

svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: rotateY(-180deg) rotateZ(-90deg);
    color: #094B66;
}

    svg circle {
        stroke-dasharray: 80px;
        stroke-dashoffset: 0px;
        stroke-linecap: round;
        stroke-width: 3px;
        stroke: #094B66;
        fill: none;
        animation: countdown 61s linear infinite forwards;
    }

@keyframes countdown {
    from {
        stroke-dashoffset: 0px;
    }

    to {
        stroke-dashoffset: 113px;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.random-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.random {
    display: inline-block;
    font-weight: bold;
    color: white;
    background-color: #094B66;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

body {
     margin: 0;
    font-family: 'Cairo', sans-serif;
    background-color: #f6f8fb;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Cairo', sans-serif;
}

.login-wrapper {
    background-color: var(--white);
    border: 1px solid;
    border-radius: 10px;
    width: 819px; /* العرض المحدد */
    height: 450px; /* الارتفاع المحدد */
    padding: 30px;
    position: relative; /* لتثبيت العناصر داخليًا */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-color: #bebebe;
}

.top-right {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: var(--font-size-s);
    color: var(--storm-dust);
}

.login-content {
    width: 55%;
}

    .login-content h1 {
        font-size: var(--font-size-xl);
        font-family: var(--font-family-cairo);
        font-weight: 400;
        color: var(--log-cabin);
        margin-bottom: 15px;
    }

    .login-content p {
        font-size: var(--font-size-m);
        color: var(--storm-dust);
        margin-bottom: 20px;
        line-height: 1.8;
    }

.form-group {
    text-align: right;
    margin-bottom: 20px;
    position: relative;
}

    .form-group input {
        width: 100%;
        padding: 12px 40px 12px 12px; /* مساحة للرمز */
        font-size: var(--font-size-m);
        border: 1px solid var(--star-dust);
        border-radius: 5px;
    }

    .form-group .icon {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        color: var(--dove-gray);
        font-size: 18px;
    }

.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: var(--font-size-m);
    color: var(--white);
    background-color: var(--boston-blue);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: var(--curious-blue);
    }

.login-logo {
    width: 40%;
    text-align: center;
}

    .login-logo img {
        max-width: 100%;
        height: auto;
    }