/**
 * أنماط CSS المحسنة للواجهة الأمامية لكتالوج الجلاس
 */

/* استيراد خط تجوال العربي */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* إعادة ضبط أساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* تنسيق حاوية الكتالوج */
.gc-catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Tajawal', Arial, sans-serif;
    background-color: #f9fafc;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.gc-catalog-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76,175,80,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.gc-catalog-container h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.gc-catalog-container h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, rgba(76,175,80,0.7) 0%, rgba(76,175,80,0) 100%);
    border-radius: 3px;
}

/* تنسيق شريط البحث والفلاتر */
.gc-search-filters {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.03);
}

.gc-search-filters:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* تحسين مربع البحث */
.gc-search-box {
    display: flex;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.gc-search-box:focus-within {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.gc-search-box input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid #e6e6e6;
    border-left: none;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: 'Tajawal', Arial, sans-serif;
    min-width: 250px;
    padding-right: 45px; /* زيادة المساحة للأيقونة */
}

.gc-search-box::before {
    content: "\f02a"; /* رمز الباركود من Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 18px;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gc-search-box:focus-within::before {
    opacity: 1;
    color: #2e7d32;
}

.gc-search-box input::placeholder {
    color: #888;
    font-size: 14px;
    transition: all 0.3s ease;
}

.gc-search-box:focus-within input::placeholder {
    color: #aaa;
    transform: translateX(-5px);
}

.gc-search-box button {
    padding: 0 25px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', Arial, sans-serif;
    min-width: 120px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.gc-search-box button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.gc-search-box button:hover::before {
    left: 100%;
}

.gc-search-box button i {
    margin-left: 10px;
    transition: all 0.3s ease;
}

.gc-search-box button:hover {
    background: linear-gradient(to left, #3d8b40, #7cb342);
    transform: translateY(-1px);
}

.gc-search-box button:hover i {
    transform: scale(1.2);
}

/* تنسيق مجموعات الفلاتر */
.gc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.03);
}

.gc-filter-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    margin-bottom: 10px;
}

.gc-filter-group label {
    margin-left: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    min-width: 90px;
}

.gc-filter-group select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    flex: 1;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333333' d='M6 8.825c-.2 0-.4-.1-.5-.2l-3.3-3.3c-.3-.3-.3-.8 0-1.1.3-.3.8-.3 1.1 0l2.7 2.7 2.7-2.7c.3-.3.8-.3 1.1 0 .3.3.3.8 0 1.1l-3.3 3.3c-.1.1-.3.2-.5.2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-color: white;
    padding-left: 35px;
    transition: all 0.3s ease;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 14px;
}

.gc-filter-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.gc-active-filter {
    border-color: #4CAF50 !important;
    background-color: #f1f8e9 !important;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2) !important;
    font-weight: bold !important;
}

/* تنسيق أزرار الفلتر */
.gc-filters button {
    padding: 12px 20px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', Arial, sans-serif;
    margin: 5px;
    min-width: 120px;
}

#gc-apply-filters {
    background-color: #2196F3;
    color: white;
}

#gc-apply-filters::before {
    content: "\f0b0";
}

#gc-apply-filters:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

#gc-reset-filters {
    background-color: #f44336;
    color: white;
}

#gc-reset-filters::before {
    content: "\f12d";
}

#gc-reset-filters:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* تنسيق إشعار الاشتراك */
.gc-subscription-notice {
    background-color: #fff8e5;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-right: 4px solid #ffa000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gc-subscription-notice::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 24px;
    color: #ffa000;
    display: block;
}

.gc-subscription-notice p {
    margin: 0;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    text-align: center;
}

.gc-subscription-notice p:last-child {
    margin-top: 10px;
    margin-bottom: 0;
}

.gc-subscription-notice::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,160,0,0.08) 0%, rgba(255,255,255,0) 60%);
    z-index: 0;
    pointer-events: none;
}

/* تنسيق حاوية الأزرار */
.gc-subscription-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
    position: relative;
    z-index: 2;
}

/* تنسيق الأزرار */
.gc-subscription-notice a,
.gc-button-link {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    background-color: #ff9800;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    display: inline-block;
    min-width: 140px;
    text-align: center;
    cursor: pointer !important;
    user-select: none;
    outline: none;
    border: none;
    z-index: 10;
    font-size: 16px;
}

.gc-subscription-notice a::before,
.gc-button-link::before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    margin-left: 8px;
    display: inline-block;
}

.gc-subscription-notice a[href*="login"]::before,
.gc-subscription-notice a[href*="سجل-دخول"]::before,
.gc-subscription-notice a[href*="%D8%B3%D8%AC%D9%84-%D8%AF%D8%AE%D9%88%D9%84"]::before {
    content: "\f2f6";
}

.gc-subscription-notice a[href*="register"]::before,
.gc-subscription-notice a[href*="تسجيل-جديد"]::before,
.gc-subscription-notice a[href*="%D8%AA%D8%B3%D8%AC%D9%8A%D9%84-%D8%AC%D8%AF%D9%8A%D8%AF"]::before {
    content: "\f234";
}

.gc-subscription-notice a[href*="contact-admin"]::before,
#gc-contact-admin-link::before {
    content: "\f0e0";
}

.gc-subscription-notice a:hover,
.gc-button-link:hover {
    background-color: #e65100;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.gc-subscription-notice a:active,
.gc-button-link:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* تنسيق شبكة الهواتف */
.gc-phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    min-height: 200px;
}

/* تنسيق بطاقة الهاتف */
.gc-phone-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.gc-phone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.08);
}

.gc-phone-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gc-phone-card:hover::after {
    opacity: 1;
}

.gc-phone-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-phone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gc-phone-card:hover .gc-phone-image img {
    transform: scale(1.1);
}

.gc-no-image {
    color: #bbb;
    font-style: italic;
    text-align: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.gc-no-image::before {
    content: "\f03e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.2;
}

.gc-phone-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gc-phone-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.gc-phone-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 3px;
}

.gc-phone-info {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.gc-glass-type, .gc-screen-type, .gc-glass-price, .gc-glass-barcode {
    margin: 10px 0;
    color: #555;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.gc-glass-type::before {
    content: "\f5df";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: #4CAF50;
    font-size: 16px;
}

.gc-screen-type::before {
    content: "\f108";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: #2196F3;
    font-size: 16px;
}

.gc-glass-price {
    color: #e65100;
    font-weight: 500;
}

.gc-glass-price i {
    margin-left: 10px;
    color: #ff9800;
}

.gc-glass-price strong {
    font-weight: 700;
    margin-right: 5px;
}

.gc-glass-barcode {
    color: #555;
    font-size: 14px;
}

.gc-glass-barcode i {
    margin-left: 10px;
    color: #757575;
}

.gc-glass-barcode strong {
    font-family: monospace;
    font-size: 15px;
    font-weight: 600;
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
}

/* تنسيق زر عرض التفاصيل */
.gc-view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    color: white !important;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    align-self: center;
    text-align: center;
}

.gc-view-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.gc-view-details i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.gc-view-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.gc-view-details:hover::before {
    left: 100%;
}

.gc-view-details:hover i {
    transform: translateX(-3px);
}

/* تنسيق النافذة المنبثقة */
.gc-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    backdrop-filter: blur(2px);
}

.gc-modal-open {
    opacity: 1;
    visibility: visible;
}

.gc-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.gc-modal-open .gc-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gc-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #f9f9f9;
}

.gc-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
    text-align: center;
    width: 100%;
}

.gc-modal-close {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gc-modal-close:hover {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
    transform: translateY(-50%) rotate(90deg);
}

.gc-modal-body {
    padding: 25px;
}

.gc-modal-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gc-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gc-modal-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.gc-detail-item {
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.gc-detail-item:last-child {
    border-bottom: none;
}

.gc-detail-item::before {
    margin-left: 10px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #4CAF50;
}

.gc-detail-glass-type::before {
    content: "\f5df";
    color: #4CAF50;
}

.gc-detail-screen::before {
    content: "\f108";
    color: #2196F3;
}

.gc-detail-price::before {
    content: "\f155";
    color: #FF9800;
}

.gc-detail-price {
    color: #e65100;
    font-weight: 500;
}

/* تنسيق حالات التحميل والخطأ */
.gc-loading, .gc-no-results, .gc-error {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 1px solid rgba(0,0,0,0.03);
}

.gc-loading::before {
    content: "\f110";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 20px;
    color: #4CAF50;
    animation: fa-spin 1.5s infinite linear;
}

.gc-no-results::before {
    content: "\f187";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 20px;
    color: #9e9e9e;
}

.gc-error {
    color: #d32f2f;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
}

.gc-error::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 40px;
    margin-bottom: 20px;
    color: #f44336;
}

/* تنسيق عداد النتائج */
.gc-results-count {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    background-color: #e3f2fd;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #0277bd;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

.gc-results-count i {
    margin-left: 12px;
    font-size: 18px;
    color: #2196F3;
}

.gc-results-count strong {
    margin: 0 5px;
    color: #0277bd;
}

/* تنسيق زر العودة للأعلى */
.gc-scroll-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 99;
}

.gc-scroll-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gc-scroll-top:hover {
    background-color: #3d8b40;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* تنسيق مؤشر البحث */
.gc-searching {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23999' d='M12,4a8,8,0,1,0,8,8A8,8,0,0,0,12,4Zm0,14a6,6,0,1,1,6-6A6,6,0,0,1,12,18Z'/%3E%3C/svg%3E");
    background-position: left 15px center !important;
    background-repeat: no-repeat !important;
    padding-left: 45px !important;
}

/* تنسيق الفلاتر النشطة */
.gc-active-filter {
    border-color: #4CAF50 !important;
    background-color: #f1f8e9 !important;
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.2) !important;
}

/* أنيميشن دوران */
@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* تنسيقات استجابية */
@media (max-width: 768px) {
    .gc-search-box {
        flex-direction: column;
        box-shadow: none;
    }
    
    .gc-search-box input {
        border-radius: 8px;
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        border-left: 1px solid #e6e6e6;
    }
    
    .gc-search-box button {
        border-radius: 8px;
        padding: 12px;
        width: 100%;
    }
    
    .gc-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .gc-filter-group {
        width: 100%;
    }
    
    .gc-filter-group label {
        width: 100px;
    }
    
    .gc-phones-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .gc-catalog-container {
        padding: 15px;
    }
    
    .gc-search-filters {
        padding: 15px;
    }
    
    .gc-phones-grid {
        grid-template-columns: 1fr;
    }
    
    .gc-modal-content {
        width: 95%;
    }
    
    .gc-modal-image {
        height: 220px;
    }
}

/* تنسيق للنافذة المنبثقة */
.gc-detail-barcode::before {
    content: "\f02a";
    color: #757575;
}

/* أنماط زر إعادة التحميل */
.gc-reload-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    margin-top: 15px;
    cursor: pointer;
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gc-reload-btn:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.gc-reload-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.gc-reload-btn::before {
    content: "\f2f1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}

/* تنسيق قائمة التصنيفات في بطاقة الهاتف */
.gc-phone-categories {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.gc-categories-count {
    margin-bottom: 10px;
    padding: 8px;
    background-color: #e3f2fd;
    border-radius: 5px;
    color: #0277bd;
    font-size: 13px;
    text-align: center;
    border: 1px solid #bbdefb;
}

.gc-categories-count i {
    margin-left: 5px;
    color: #0277bd;
}

.gc-categories-by-type {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-category-type {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.gc-category-type-name {
    background-color: #f0f0f0;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.gc-categories-list {
    list-style: none;
    padding: 8px;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
}

.gc-category-item {
    margin-bottom: 5px;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.gc-category-item:last-child {
    margin-bottom: 0;
}

.gc-category-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0,0,0,0.05);
}

.gc-category-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-size: 13px;
}

.gc-category-details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 12px;
}

.gc-glass-type-tag, .gc-price-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.gc-glass-type-tag {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.gc-price-tag {
    background-color: #e3f2fd;
    color: #1565c0;
}

/* تنسيقات استجابية للتصنيفات */
@media (max-width: 768px) {
    .gc-categories-by-type {
        gap: 8px;
    }
    
    .gc-categories-list {
        max-height: 120px;
    }
    
    .gc-category-item {
        padding: 6px;
    }
    
    .gc-category-name {
        font-size: 12px;
    }
    
    .gc-category-details {
        font-size: 11px;
    }
}

/* تنسيق التصنيفات في النافذة المنبثقة */
.gc-modal-categories {
    margin-top: 15px;
}

.gc-modal-category-group {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.gc-category-type-title {
    margin: 0 !important;
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.gc-category-group-items {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gc-modal-category {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.gc-modal-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background-color: #fff;
}

.gc-modal-category h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.gc-modal-category-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gc-modal-category-details .gc-detail-item {
    margin: 0;
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.gc-detail-price::before {
    content: "\f155";
    font-family: "Font Awesome 5 Free";
    margin-left: 8px;
    color: #FF9800;
}

.gc-detail-barcode::before {
    content: "\f02a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    color: #607D8B;
}

/* تنسيق رسالة عدم وجود تصنيفات */
.gc-no-categories {
    background-color: #fff3e0;
    color: #e65100;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ffe0b2;
}

.gc-no-categories::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}

/* تنسيقات استجابية للنافذة المنبثقة */
@media (max-width: 768px) {
    .gc-category-group-items {
        grid-template-columns: 1fr;
    }
    
    .gc-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

/* تنسيق التصنيفات في النافذة المنبثقة */
.gc-modal-categories {
    margin-top: 15px;
}

.gc-modal-categories-count {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f0f8ff;
    border-radius: 5px;
    color: #0277bd;
    font-size: 14px;
    text-align: center;
    border: 1px solid #e3f2fd;
}

/* تنسيق شبكة التصنيفات */
.gc-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    min-height: 200px;
}

@media (max-width: 992px) {
    .gc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gc-categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* تنسيق بطاقة التصنيف */
.gc-category-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(20px);
    height: 100%;
}

.gc-category-visible {
    opacity: 1;
    transform: translateY(0);
}

.gc-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gc-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.gc-category-card:hover::before {
    transform: scaleX(1);
}

.gc-category-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f8fa;
    position: relative;
}

.gc-category-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), rgba(255,255,255,0));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gc-category-card:hover .gc-category-image::after {
    opacity: 1;
}

.gc-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gc-category-card:hover .gc-category-image img {
    transform: scale(1.08);
}

/* تحسين تنسيق تفاصيل التصنيف */
.gc-category-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.gc-category-title {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    text-align: center;
}

.gc-category-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 30%;
    width: 40%;
    height: 3px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    border-radius: 3px;
}

.gc-category-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9fafc;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.gc-category-type, .gc-category-price, .gc-category-barcode {
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #555;
    padding: 8px 10px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.gc-category-type:hover, .gc-category-price:hover, .gc-category-barcode:hover {
    transform: translateX(-5px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.gc-category-type i, .gc-category-price i, .gc-category-barcode i {
    margin-left: 10px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.gc-category-type i {
    background-color: #e8f5e9;
    color: #4CAF50;
}

.gc-category-price i {
    background-color: #fff3e0;
    color: #ff9800;
}

.gc-category-barcode i {
    background-color: #e8eaf6;
    color: #3f51b5;
}

.gc-category-type strong, .gc-category-price strong, .gc-category-barcode strong {
    color: #333;
    font-weight: 600;
}

/* تنسيق قائمة الهواتف المتوافقة */
.gc-category-phones {
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gc-category-phones h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.gc-category-phones h4::before {
    content: "\f3cd";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: #4CAF50;
    background-color: #e8f5e9;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.gc-phones-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    flex: 1;
}

.gc-phones-list::-webkit-scrollbar {
    width: 6px;
}

.gc-phones-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gc-phones-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.gc-phones-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.gc-phone-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 6px;
    margin-bottom: 5px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.gc-phone-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.gc-phone-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    background-color: #f5f5f5;
}

.gc-phone-item i {
    background-color: #e8f5e9;
    color: #4CAF50;
    margin-left: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* تنسيق رسالة لا توجد هواتف */
.gc-no-phones {
    color: #888;
    font-style: italic;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-no-phones::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    color: #9e9e9e;
    font-size: 16px;
}

/* تحسين تنسيق زر عرض التفاصيل */
.gc-view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    color: white !important;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    align-self: center;
    text-align: center;
}

.gc-view-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.gc-view-details i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.gc-view-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
    color: white;
}

.gc-view-details:hover::before {
    left: 100%;
}

.gc-view-details:hover i {
    transform: translateX(-3px);
}

/* تنسيق نصيحة البحث */
.gc-search-tip {
    margin-top: -10px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #e8f5e9;
    border-radius: 6px;
    font-size: 13px;
    color: #2e7d32;
    display: flex;
    align-items: center;
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    animation: fadeIn 0.5s ease-in-out;
}

.gc-search-tip i {
    margin-left: 10px;
    color: #4CAF50;
    font-size: 16px;
}

.gc-search-tip span {
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تنسيقات صفحات تسجيل الدخول والتسجيل */
.gc-form-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', Arial, sans-serif;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-form-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.gc-form-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.gc-form-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.gc-form-container h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.7) 0%, rgba(76, 175, 80, 0) 100%);
    border-radius: 3px;
}

.gc-form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.gc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
}

.gc-form-group input[type="text"],
.gc-form-group input[type="password"],
.gc-form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    font-family: 'Tajawal', Arial, sans-serif;
    color: #333;
}

.gc-form-group input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
    background-color: #fff;
    outline: none;
}

.gc-form-group input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.gc-form-group input[type="checkbox"] {
    margin-left: 8px;
    transform: scale(1.2);
    accent-color: #4CAF50;
}

.gc-form-submit {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.gc-form-submit button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.gc-form-submit button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.gc-form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.gc-form-submit button:hover::before {
    left: 100%;
}

.gc-form-submit button:active {
    transform: translateY(-1px);
}

.gc-form-links {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.gc-form-links p {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.gc-form-links a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.gc-form-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.gc-form-links a:hover {
    color: #2e7d32;
}

.gc-form-links a:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.gc-error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(198, 40, 40, 0.2);
    position: relative;
    padding-right: 45px;
    font-size: 14px;
    animation: fadeIn 0.5s ease;
}

.gc-error-message::before {
    content: "\f071";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #c62828;
    font-size: 18px;
}

.gc-error-message p {
    margin: 0;
}

.gc-success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    position: relative;
    padding-right: 45px;
    font-size: 14px;
    animation: fadeIn 0.5s ease;
}

.gc-success-message::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2e7d32;
    font-size: 18px;
}

.gc-success-message p {
    margin: 0;
}

/* تنسيقات استجابية لنماذج تسجيل الدخول والتسجيل */
@media (max-width: 768px) {
    .gc-form-container {
        padding: 30px 20px;
        margin: 20px auto;
        max-width: 100%;
    }
    
    .gc-form-group input[type="text"],
    .gc-form-group input[type="password"],
    .gc-form-group input[type="email"] {
        padding: 12px 14px;
    }
    
    .gc-form-submit button {
        padding: 12px;
    }
}

/* تنسيقات صفحة نسيان كلمة السر */
.gc-forgot-password-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', Arial, sans-serif;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-forgot-password-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.gc-forgot-password-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.gc-forgot-password-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.gc-forgot-password-container h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.7) 0%, rgba(33, 150, 243, 0) 100%);
    border-radius: 3px;
}

.gc-forgot-password-container p.description {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.gc-forgot-password-form .gc-form-submit button {
    background: linear-gradient(to left, #2196F3, #03A9F4);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.gc-forgot-password-form .gc-form-submit button:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.gc-reset-instructions {
    margin-top: 25px;
    padding: 15px;
    background-color: #e3f2fd;
    border-radius: 8px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    position: relative;
    padding-right: 45px;
    font-size: 14px;
    color: #0277bd;
    line-height: 1.6;
}

.gc-reset-instructions::before {
    content: "\f0eb";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 15px;
    color: #2196F3;
    font-size: 18px;
}

.gc-reset-sent {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 500px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    position: relative;
    padding-right: 60px;
    font-size: 15px;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gc-reset-sent::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 24px;
    width: 40px;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-reset-sent h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2e7d32;
}

.gc-reset-sent p {
    margin: 0 0 15px;
}

.gc-reset-sent a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gc-reset-sent a:hover {
    color: #0b7dda;
    text-decoration: underline;
}

/* تنسيقات صفحة إعادة تعيين كلمة السر */
.gc-reset-password-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', Arial, sans-serif;
    animation: fadeIn 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-reset-password-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.gc-reset-password-container h2 {
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.gc-reset-password-container h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, rgba(156, 39, 176, 0.7) 0%, rgba(156, 39, 176, 0) 100%);
    border-radius: 3px;
}

.gc-reset-password-form .gc-form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gc-reset-password-form .gc-form-group label span {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

.gc-password-strength {
    margin-top: 8px;
    height: 5px;
    border-radius: 3px;
    background-color: #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gc-password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.gc-password-strength-weak .gc-password-strength-bar {
    width: 25%;
    background-color: #f44336;
}

.gc-password-strength-medium .gc-password-strength-bar {
    width: 50%;
    background-color: #ff9800;
}

.gc-password-strength-good .gc-password-strength-bar {
    width: 75%;
    background-color: #2196F3;
}

.gc-password-strength-strong .gc-password-strength-bar {
    width: 100%;
    background-color: #4CAF50;
}

.gc-password-hint {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    padding-right: 10px;
    position: relative;
}

.gc-password-hint::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
    color: #9e9e9e;
}

.gc-reset-password-form .gc-form-submit button {
    background: linear-gradient(to left, #9C27B0, #BA68C8);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.2);
}

.gc-reset-password-form .gc-form-submit button:hover {
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.3);
}

.gc-reset-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 500px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    position: relative;
    padding-right: 60px;
    font-size: 15px;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gc-reset-success::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 24px;
    width: 40px;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-reset-success h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2e7d32;
}

.gc-reset-success p {
    margin: 0 0 15px;
}

.gc-reset-success .gc-button-link {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
}

/* تنسيقات استجابية لصفحات نسيان كلمة السر */
@media (max-width: 768px) {
    .gc-forgot-password-container,
    .gc-reset-password-container,
    .gc-reset-sent,
    .gc-reset-success {
        padding: 30px 20px;
        margin: 20px auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .gc-modal-similar-phones-grid {
        grid-template-columns: 1fr;
    }
}

/* أزرار التنقل في الواجهة الأمامية */
.gc-navigation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.gc-nav-button {
    padding: 12px 20px;
    background: linear-gradient(to left, #4CAF50, #8BC34A);
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    position: relative;
    overflow: hidden;
}

.gc-nav-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.gc-nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.gc-nav-button:hover::before {
    left: 100%;
}

.gc-nav-button i {
    margin-left: 8px;
}

.gc-nav-button.active {
    background: linear-gradient(to left, #2196F3, #03A9F4);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.2);
}

.gc-nav-button.active:hover {
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.3);
}

@media (max-width: 768px) {
    .gc-navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .gc-nav-button {
        width: 100%;
    }
} 