-/*
Theme Name: Daftarkhoone
Theme URI: https://daftarkhoone.org/
Description: Child theme for the Hello Elementor theme
Author: Hamed Mardanpour (HamedWebmaster)
Author URI: https://daftarkhoone.org/
Template: hello-elementor
Version: 3.0.0
*/

@import url("../hello-elementor/style.css");
/* استایل فرم لاگین */
#phone-login-form, #otp-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#phone-login-form label, #otp-form label {
    font-family: "Yekan-Bakh", Sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

#phone-login-form input, #otp-form input {
    font-family: "Yekan-Bakh", Sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#phone-login-form input:focus, #otp-form input:focus {
    border-color: #3e51a3; 
    outline: none;
}

#phone-login-form button, #otp-form button {
    font-family: "Yekan-Bakh", Sans-serif;
    width: 100%;
    padding: 12px;
    background-color: #3e51a3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#phone-login-form button:hover, #otp-form button:hover {
    background-color: #3e51a3;
}

#otp-form {
    display: none;  
}

.error-message {
    font-family: "Yekan-Bakh", Sans-serif;
    color: red;
    font-size: 14px;
    margin-top: -10px;
}

 .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    width: 25%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}

.popup-title {
    font-family: "Yekan-Bakh", Sans-serif;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 45px;
    margin-bottom: 20px;
    color: #3e51a3; 
}

.popup-close-btn {
    font-family: "Yekan-Bakh", Sans-serif;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #3e51a3;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close-btn:hover {
    color: #005f8d;
}

.popup-close-btn {
    font-family: "Yekan-Bakh", Sans-serif;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #3e51a3; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close-btn:hover {
    color: #3e51a3;
}

.login-btn {
    font-family: "Yekan-Bakh", Sans-serif;
    padding: 12px 25px;
    background-color: #3e51a3;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s, box-shadow 0.3s ease;
}

.login-btn:hover {
    background-color: #3e51a3; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); 
}
.user-menu {
    position: relative;
    display: inline-block;
    font-family: "Yekan-Bakh", Sans-serif;
}

.user-name {
    font-family: "Yekan-Bakh", Sans-serif;
    color: #333 !important;
    background-color: #fff !important;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    position: relative;
}
/* آیکون زنگوله کنار نام کاربری */
.notification-icon {
    width: 30px; /* اندازه آیکون به 30px تغییر یافته */
    height: 30px; /* اندازه آیکون به 30px تغییر یافته */
    margin-right: 10px; /* فاصله بیشتر بین آیکون و نام کاربری */
}

/* منوی کشویی */
.dropdown-content {
    z-index: 9999; /* اطمینان حاصل کنید که منو در بالای سایر عناصر قرار گیرد */
    display: none; /* منو در ابتدا مخفی است */
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    border: 1px solid #ccc;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    top: 100%; /* قرار گرفتن منو پایین دکمه */
    left: 0;
    margin-top: 8px;
}

/* استایل آیتم‌های منو */
.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* نمایش منو وقتی روی نام کاربری کلیک می‌شود */
.user-menu .user-name:focus + .dropdown-content,
.user-menu .user-name:hover + .dropdown-content,
.user-menu .show-dropdown .dropdown-content {
    display: block; /* نمایش منو */
}

/* استایل برای منو هنگام باز شدن */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* دکمه نام کاربری */
.user-name:focus {
    outline: none;
}








