/* إعدادات المتصفح الأساسية لتطابق الـ Pixel Perfect */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

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

/* --- تنسيق الشريط العلوي (Navbar) --- */
.navbar {
    background-color: #092254;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    height: 103px;
    border-radius: 99px;
    border: 1px solid #00000008;
    width: 90%;
    margin: 15px auto 0px auto;
}

.nav-right {
    width: 70%;
    justify-content: space-between;
}

.nav-right,
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 80%;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #b0c4de;
}

.nav-links i {
    font-size: 10px;
    margin-right: 5px;
}

/* أزرار النافبار */
.btn-login {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 8px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-register {
    background-color: #f7a416;
    border: none;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.search-icon {
    color: #f7a416;
    cursor: pointer;
    font-size: 16px;
}

/* --- تنسيق الحاوية الرئيسية والبطاقة --- */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.card-wrapper {
    width: 80%;
    max-width: 80%;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* --- تنسيق قسم الفورم (الأيمن) --- */
.reset .form-section {
    padding: 40px 0px;
    border: 1px solid #00000012;
    border-radius: 10px;
    background-color: #FEFEFE;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    color: #032472;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.buttons-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.reset button {
    width: 100%;
    color: #092254;
    border: none;
    padding: 14px;
    border-radius: 13px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    box-shadow: 1px 2px 2px 0px #FFFFFF40 inset;
    border: 2px solid #09225424;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reset .btn-support {
    background-color: #F4F6FD;

}

.reset .login {
    border: 2px solid #AC61E063;
    width: 95%;
    margin: 20px auto 0px auto;
    font-size: 18px;
    font-weight: 700;
}

.reset .top-header {
    display: flex;
    gap: 25px;
}

.reset .top-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #010304;
}

.reset .top-header p {
    font-size: 14px;
    color: #010304;
    font-weight: 400;
}

.reset .top-header .image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 83px;
    width: 83px;
    border-radius: 50%;
    background-color: #F4F6FD;

}

.form-section .subtitle {
    color: #0600009E;
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #131728;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 1px solid #00000008;
    background-color: #FAFAFA;
    border-radius: 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #cbd5e1;
}

input::placeholder,
.input-wrapper select::placeholder {
    color: #31025F69;
    font-size: 14px;
    font-weight: 500;
}

.input-icon {
    position: absolute;
    right: 15px;
    color: #94a3b8;
    font-size: 16px;
}

.toggle-password {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    cursor: pointer;
}

.input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px;
}

.terms-container {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    gap: 7px;
}

.checkbox-label div {
    display: flex;
    align-items: center;
    gap: 5px;
}

input[type="checkbox"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid #BFBFBF;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

input[type="checkbox"]:checked {
    background-color: #ffc107;
    border-color: #ffc107;
    z-index: 2;
}

input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.checkbox-label a {
    color: #3b82f6;
    text-decoration: none;
}

.btn-submit {
    width: 100%;
    background-color: #f7a416;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #e09210;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #0d234c;
    font-weight: 600;
}

.form-footer a {
    color: #3b82f6;
    text-decoration: none;
}

.welcome-section {
    background-color: #F7F9FD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 19px 35px 44px 29px;
    text-align: center;
    position: relative;
    border: 1px solid #00000012;
    border-radius: 10px;
}

.welcome-text {
    margin-top: 20px;
    margin-bottom: 30px;
}

.welcome-text h3 {
    color: #0C174E;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 8px;
}

.welcome-text h1 {
    color: #032472;
    font-size: 40px;
    font-weight: 900;
    line-height: 44px;
}

.welcome-text h1 span {
    color: #f7a416;
}

.welcome-text p {
    color: #384972;
    font-size: 23px;
    font-weight: 300;
    margin-top: 5px;
}

.image-holder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.image-holder img {
    max-width: 85%;
    height: auto;
    display: block;
}

.reset-container {
    background-color: #FFFFFF;
    box-shadow: 0px 1px 8px 0px #0103041A;
    border-radius: 16px;
    padding: 20px 16px;
    width: 95%;
    margin: 0px auto;
}

@media (max-width: 900px) {
    .card-wrapper {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: unset !important;
    }

    .welcome-section {
        display: none;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .form-section {
        padding: 30px 20px;
    }
}
/* Phone Numbers List Styles */
.phones-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.phone-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}


.phone-item:hover {
    background-color: #F1F5F9;
    border-color: #cbd5e1;
}

.phone-number {
    font-size: 16px;
    font-weight: 600;
    color: #092254;
    direction: ltr;
    text-align: left;
    font-family: 'Courier New', monospace;
}
.phone-number:hover{
    color: #f7a416;
}
.phone-call-btn {
    background-color: #f7a416;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.phone-call-btn:hover {
    background-color: #e09210;
    transform: scale(1.05);
}

.phone-call-btn img {
    filter: brightness(0) invert(1);
}

.no-phones {
    text-align: center;
    padding: 15px;
    color: #64748b;
    font-size: 14px;
    background-color: #F8FAFC;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-item {
        padding: 12px 12px;
    }
    
    .phone-number {
        font-size: 14px;
    }
    
    .phone-call-btn {
        width: 32px;
        height: 32px;
    }
    
    .phone-call-btn img {
        width: 16px;
    }
}