@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --accent: #EAB65E;
    --muted: #94a3b8;
    --border: #dcdfe6;
    --radius: 10px;
    --bg: #fafafa;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    background: var(--bg);
    color: #111827;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.02) 0 25%, transparent 25% 50%),
        linear-gradient(60deg, rgba(0, 0, 0, 0.01) 0 25%, transparent 25% 50%);
    background-size: 360px 360px;
    opacity: 0.7;
    pointer-events: none;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 110px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 5;
}

header img {
    height: 40px;
}

.lang-wrap {
    position: relative;
    font-size: 14px;
    user-select: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    color: #374151;
}

.lang-btn img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 120%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    display: none;
    min-width: 170px;
    z-index: 10;
}

/* RTL languages */
[dir="rtl"] .dropdown-menu {
    right: auto;  /* reset right */
    left: 0;      /* align left edge to button */
    text-align: right; /* align text properly for RTL */
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f3f4f6;
}

.dropdown-menu img {
    width: 18px;
    height: 13px;
    border-radius: 2px;
}

/* layout */
.wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    min-height: calc(100vh - 70px);
}

.card {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 20px;
    /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); */
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 4;
    box-shadow: 1px 1px 6px 1px rgb(0 0 0 / 37%);
    -webkit-box-shadow: 1px 1px 6px 1px rgb(0 0 0 / 37%);
    -moz-box-shadow: 1px 1px 6px 1px rgba(0, 0, 0, 0.37);
}

h1 {
    font-size: 30px;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 200;
}

form {
    display: block;
}

.field {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 13px;
    color: #727272;
    margin-bottom: 1px;
    font-weight: 200;
}

input,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(234, 182, 94, 0.2);
}

.pw-wrap {
    position: relative;
}

.pw-toggle {
    position: absolute;
    right: 8px;
    top: 30%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    cursor: pointer;
    opacity: 0.7;
    color: #737373;
}

.pw-hint {
    font-size: 12px;
    color: #9aa6b6;
    margin-top: 4px;
}

.error {
    display: none;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    margin-bottom: 8px;
}

.btn {
    /* width: 100%;
    background: var(--accent);
    border: none;
    color: #1e1e1e;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer; */

    font-size: 1.6rem;
    line-height: 0;
    height: 5rem;
    padding: 25px 50px !important;
    color: #000000 !important;
    background-color: #f4bc58 !important;
    border: none;
    font-weight: 700;
    transition: background-color 0.3s;
    font-weight: bold;
    border-radius: 0rem !important;
    cursor: pointer;
}



.btn:disabled {
    background-color: var(--accent);
    opacity: 0.5;
    color: #999;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background-color: #595959 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.btn:disabled {
    background-color: var(--accent);
    opacity: 0.7;
    color: #000000;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

select #language option:disabled {
    color: #a0a0a0!important;       
}

.note {
    font-size: 12px;
    color: #475569;
    text-align: center;
    margin-top: 14px;
}

footer {
    text-align: center;
    font-size: 12.5px;
    color: #ffffff;
    margin-top: 0px;
    padding: 10px 30px;
    background: #212121;
    /* font-family: "Open Sans", sans-serif; */
    font-weight: 400;
    align-items: center;
    display: flex;
    justify-content: center;
}

.btn-group {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 11%;
}

.btnBack {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 0;
    height: 5rem;
    padding: 5px 50px !important;
    border: none;
    transition: background-color 0.3s;
    border-radius: 0rem !important;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnBack:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btnBack:hover {
    opacity: 0.9;
}

@media(max-width:720px) {
    header {
        padding: 10px 50px 10px 10px!important;
    }

    header img {
        height: auto;
        max-height: 40px;
    }

    .wrap {
        padding: 50px!important;
    }

    .card {
        padding: 20px;
    }
    .btn {
        font-size: 1.4rem;
        line-height: 0;
        width: 100%;
    }
    h1 {
        font-size: 23px !important;
        font-weight: 200 !important;
    }
    .btn-group {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-direction: column;
        margin-top: 25%;
    }
    .btnBack {
        height: 4rem;
        padding: 3px !important;
    }
}

