/* ==========================================
   Arabian Recruitment
   Main Stylesheet
========================================== */

/* ==========================================
   Reset
========================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-md);
    font-weight: var(--fw-normal);
    color: var(--text-color);
    background: var(--background-color);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   Selection
========================================== */

::selection {
    background: var(--secondary-color);
    color: var(--text-white);
}

/* ==========================================
   Scrollbar
========================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--section-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==========================================
   Typography
========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-bold);
    line-height: 1.4;
    color: var(--primary-color);
}

h1 {
    font-size: var(--font-3xl);
}

h2 {
    font-size: var(--font-2xl);
}

h3 {
    font-size: var(--font-xl);
}

p {
    color: var(--text-light);
}

/* ==========================================
   Links
========================================== */

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   Images
========================================== */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================
   Buttons
========================================== */

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .7;
}

/* ==========================================
   Inputs
========================================== */

input, select, textarea {
    font-family: inherit;
    font-size: var(--font-md);
    outline: none;
    border: none;
}

/* ==========================================
   Lists
========================================== */

ul, ol {
    list-style: none;
}

/* ==========================================
   Container
========================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: auto;
    padding-inline: var(--container-padding);
}

/* ==========================================
   Main
========================================== */

main {
    padding-bottom: 80px;
}

/* ==========================================
   Screen System
========================================== */

.screen {
    display: none;
    animation: fadeUp .45s ease;
}

.screen.active {
    display: block;
}

/* ==========================================
   Utility
========================================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* ==========================================
   Page Loader
========================================== */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--surface-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-loader);
    transition: opacity .4s ease, visibility .4s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid rgba(11, 46, 89, .12);
    border-top-color: var(--secondary-color);
    animation: loaderSpin .9s linear infinite;
}

/* ==========================================
   Header
========================================== */

.header {
    position: sticky;
    top: 0;
    background: #3e005f !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: var(--z-header);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: var(--header-height);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    -webkit-filter: none !important;
    filter: none !important;
}

/* ==========================================
   Progress Section - Hidden
========================================== */

.progress-section {
    display: none !important;
}

/* ==========================================
   Hero
========================================== */

.hero-card {
    position: relative;
    overflow: hidden;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 100px;
    max-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -80px;
    width: 260px;
    height: 260px;
    background: rgba(212, 160, 23, .08);
    border-radius: 50%;
}

.hero-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    animation: heroShine 6s infinite;
}

.hero-card>* {
    position: relative;
    z-index: 2;
}

.hero-card .company-name {
    color: #FFFFFF !important;
    display: block;
    font-size: 2.8rem;
    font-weight: var(--fw-black);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-align: center;
}

.hero-card .highlight-text {
    color: #FFFFFF !important;
    display: block;
    font-size: 1.6rem;
    font-weight: var(--fw-bold);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 2px;
    text-align: center;
}

.hero-card .sub-highlight {
    color: #FFFFFF !important;
    display: block;
    font-size: 1.3rem;
    font-weight: var(--fw-bold);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 6px;
    text-align: center;
}

/* ===== Gold Line ===== */
.gold-line {
    width: 80px;
    height: 3px;
    margin: 6px auto 12px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light), var(--secondary-color));
    border-radius: 999px;
    box-shadow: 0 2px 15px rgba(212, 160, 23, 0.3);
}

/* ==========================================
   Back Button
========================================== */

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 18px;
    background: var(--section-color);
    color: var(--primary-color);
    border-radius: var(--radius-round);
    font-weight: var(--fw-semibold);
    font-size: var(--font-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.back-btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-fast);
    transform: scaleX(-1);
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: translateX(-4px);
}

.back-btn:hover i {
    transform: scaleX(-1) translateX(-3px);
}

/* ==========================================
   Buttons
========================================== */

.primary-btn {
    width: 100%;
    min-height: 40px;
    border-radius: var(--radius-lg);
    background: #3e005f !important;
    color: #FFFFFF !important;
    font-size: 0.85rem;
    font-weight: var(--fw-bold);
    box-shadow: var(--shadow-md);
    margin-bottom: 12px !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    padding: 0 16px;
    margin-top: 4px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(62, 0, 95, 0.4);
}

.primary-btn .btn-loader i {
    font-size: 1.2rem;
}

button.loading .btn-text {
    display: none !important;
}

button.loading .btn-loader {
    display: inline-block !important;
}

button.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* ==========================================
   Dashboard Styles
========================================== */

/* ===== Dashboard Header ===== */
.dashboard-header {
    text-align: center;
    padding: 0px 0 6px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 16px;
    border-right: none;
    margin-top: 0px;
}

.dashboard-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 1.3rem;
    font-weight: var(--fw-bold);
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dashboard-title i {
    display: none;
}

.dashboard-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== Dashboard Grid ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7B4B8A, #B07CC6);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card .dashboard-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    order: 2;
}

.dashboard-card .dashboard-text {
    order: 1;
    text-align: right;
    flex: 1;
}

.dashboard-card h3 {
    font-size: 1rem;
    font-weight: var(--fw-bold);
    margin-bottom: 2px;
}

.dashboard-card span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ===== زر قائمة العملاء - موف غني ===== */
.client-list-card {
    border-color: rgba(123, 75, 138, 0.2);
}

.client-list-card::before {
    background: linear-gradient(90deg, #7B4B8A, #B07CC6) !important;
}

.client-list-card .dashboard-icon {
    background: rgba(123, 75, 138, 0.12);
    color: #7B4B8A;
}

.client-list-card h3 {
    color: #5A2D6E;
}

.client-list-card:hover {
    border-color: #7B4B8A;
    box-shadow: 0 8px 30px rgba(123, 75, 138, 0.2);
}

/* ===== زر إضافة عميل - كحلي غامق ===== */
.add-card::before {
    background: linear-gradient(90deg, #0B2E59, #1E4E89) !important;
}

.add-card .dashboard-icon {
    background: rgba(11, 46, 89, 0.1);
    color: #0B2E59;
}

.add-card h3 {
    color: #0B2E59;
}

.add-card:hover {
    border-color: #0B2E59;
    box-shadow: 0 8px 30px rgba(11, 46, 89, 0.2);
}

/* ==========================================
   Cover Card - Home Page
========================================== */

.cover-card {
    border-radius: var(--radius-xl);
    padding: 40px 35px;
    min-height: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cover-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-xl);
}

.cover-card-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.cover-card-content h2 {
    color: #FFFFFF !important;
    font-size: 2rem;
    font-weight: var(--fw-black);
    margin-bottom: 8px;
}

.cover-card-content p {
    color: #FFFFFF !important;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.cover-card-content .cover-card-english {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
}

/* ==========================================
   Clients List Screen
========================================== */

.clients-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.clients-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.clients-card h2 i {
    color: var(--secondary-color);
}

.clients-search {
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
}

.clients-search input {
    flex: 1;
    min-height: 44px;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--surface-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.clients-search input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
    outline: none;
}

.clients-search .search-btn {
    min-height: 44px;
    padding: 0 20px;
    background: var(--secondary-color);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    font-weight: var(--fw-bold);
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.clients-search .search-btn:hover {
    background: var(--secondary-dark);
}

.clients-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.clients-loading i {
    margin-left: 10px;
    font-size: 1.4rem;
}

.clients-table-wrapper {
    overflow-x: auto;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.clients-table thead {
    background: var(--primary-color);
    color: #FFFFFF;
}

.clients-table thead th {
    padding: 14px 16px;
    text-align: right;
    font-weight: var(--fw-bold);
}

.clients-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.clients-table tbody tr:hover {
    background: rgba(212, 160, 23, 0.05);
}

.clients-table tbody td {
    padding: 12px 16px;
    color: var(--text-color);
}

.clients-table tbody td:first-child {
    color: var(--text-light);
    font-weight: var(--fw-medium);
}

.clients-table .clickable-row {
    cursor: pointer;
    transition: background var(--transition-fast);
}

.clients-table .clickable-row:hover {
    background: rgba(212, 160, 23, 0.12) !important;
}

.clients-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.clients-empty i {
    font-size: 3rem;
    color: var(--border-color);
    display: block;
    margin-bottom: 16px;
}

.clients-empty p {
    font-size: 1.1rem;
}

.clients-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.page-btn {
    min-width: 40px;
    min-height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    font-weight: var(--fw-bold);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    color: #FFFFFF;
    border-color: var(--secondary-color);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.clients-pagination span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   Search Section
========================================== */

.search-section {
    margin-bottom: 28px;
    padding: 20px;
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.home-search {
    margin-bottom: 24px;
}

.search-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-box input {
    flex: 1;
    min-height: 40px;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    background: var(--surface-color);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
    outline: none;
}

.search-btn {
    min-height: 40px;
    padding: 0 20px;
    background: var(--secondary-color);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    font-weight: var(--fw-bold);
    transition: background var(--transition-fast), transform var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.search-btn:hover {
    background: var(--secondary-dark);
    transform: scale(1.02);
}

.search-result {
    margin-top: 16px;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.search-result.hidden {
    display: none;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--primary-color);
    color: #FFFFFF;
    font-weight: var(--fw-bold);
}

.clear-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.result-content {
    padding: 16px 18px;
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item .label {
    font-weight: var(--fw-semibold);
    color: var(--text-light);
    font-size: 0.85rem;
}

.result-item .value {
    color: var(--text-color);
    font-size: 0.95rem;
}

.result-not-found {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
}

/* ==========================================
   Registration Form - Compact
========================================== */

.crm-form-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 16px 16px !important;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.crm-form-card h2 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.1rem !important;
}

.crm-form-card form {
    margin-top: 6px;
}

.crm-form-card .form-group {
    margin-bottom: 8px !important;
}

.crm-form-card .form-group label {
    display: block;
    margin-bottom: 2px !important;
    font-weight: var(--fw-semibold);
    color: var(--primary-color);
    font-size: 0.75rem !important;
}

.crm-form-card .form-group input,
.crm-form-card .form-group select,
.crm-form-card .form-group textarea {
    width: 100%;
    min-height: 34px !important;
    padding: 6px 10px !important;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--surface-color);
    font-size: 0.8rem !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.crm-form-card .form-group input:focus,
.crm-form-card .form-group select:focus,
.crm-form-card .form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, .1);
}

.crm-form-card .form-group textarea {
    min-height: 50px !important;
    resize: vertical;
}

.crm-form-card .primary-btn {
    min-height: 40px !important;
    font-size: 0.85rem !important;
    padding: 0 16px;
    margin-top: 4px;
    margin-bottom: 12px !important;
    background: #3e005f !important;
    color: #FFFFFF !important;
}

.crm-form-card .offer-badge {
    font-size: 0.7rem !important;
    padding: 4px 12px !important;
    margin-bottom: 8px !important;
}

/* ==========================================
   Success Page
========================================== */

.success-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.success-card h2 {
    text-align: center;
    margin-bottom: 18px;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--success-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2.3rem;
}

/* ==========================================
   Success Page - Actions
========================================== */

.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.success-btn {
    min-width: 160px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-round);
    font-weight: var(--fw-bold);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.success-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ✅ زر الرئيسية - موف */
.home-btn {
    background: #7B4B8A !important;
    color: #FFFFFF !important;
    border-color: #7B4B8A !important;
}

.home-btn:hover {
    background: #5A2D6E !important;
    border-color: #5A2D6E !important;
}

/* ✅ زر إضافة عميل - كحلي */
.add-btn {
    background: #0B2E59 !important;
    color: #FFFFFF !important;
    border-color: #0B2E59 !important;
}

.add-btn:hover {
    background: #072241 !important;
    border-color: #072241 !important;
}

/* ==========================================
   Toast
========================================== */

.toast {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s ease;
    z-index: var(--z-toast);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================
   Animations
========================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes heroShine {
    0% {
        left: -150%;
    }
    100% {
        left: 160%;
    }
}

/* ==========================================
   Responsive - Dashboard
========================================== */

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .dashboard-title {
        font-size: 1.3rem;
    }
    
    .dashboard-card {
        padding: 14px 16px;
        min-height: 70px;
    }
    
    .dashboard-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }
    
    .dashboard-card h3 {
        font-size: 0.9rem;
    }
    
    .dashboard-card span {
        font-size: 0.75rem;
    }
    
    .cover-card {
        padding: 30px 24px;
        min-height: 160px;
    }
    
    .cover-card-content h2 {
        font-size: 1.6rem;
    }
    
    .cover-card-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dashboard-card {
        padding: 12px 14px;
        min-height: 60px;
    }
    
    .dashboard-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }
    
    .dashboard-title {
        font-size: 1.1rem;
    }
    
    .dashboard-card h3 {
        font-size: 0.85rem;
    }
    
    .dashboard-card span {
        font-size: 0.7rem;
    }
    
    .hero-card {
        min-height: 100px;
        padding: 12px 16px;
    }
    
    .hero-card .company-name {
        font-size: 1.6rem;
        padding: 2px 16px;
    }
    
    .hero-card .highlight-text {
        font-size: 1rem;
    }
    
    .hero-card .sub-highlight {
        font-size: 0.85rem;
    }
    
    .gold-line {
        width: 60px;
        height: 2px;
        margin: 4px auto 8px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-box input {
        width: 100%;
        min-height: 36px;
        font-size: 0.85rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        min-height: 36px;
        font-size: 0.85rem;
    }
    
    .clients-card {
        padding: 20px 14px;
    }
    
    .clients-search {
        flex-direction: column;
    }
    
    .clients-table thead th,
    .clients-table tbody td {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    
    .clients-pagination {
        gap: 8px;
    }
    
    .page-btn {
        min-width: 30px;
        min-height: 30px;
        font-size: 0.75rem;
    }
    
    .search-section {
        padding: 12px;
    }
    
    .cover-card {
        padding: 24px 18px;
        min-height: 140px;
        border-radius: var(--radius-lg);
    }
    
    .cover-card-content h2 {
        font-size: 1.3rem;
    }
    
    .cover-card-content p {
        font-size: 0.85rem;
    }
    
    .cover-card-content .cover-card-english {
        font-size: 0.75rem;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .success-btn {
        width: 100%;
        min-height: 44px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .hero-card .company-name {
        font-size: 1.3rem;
        padding: 2px 12px;
    }
    
    .hero-card .highlight-text {
        font-size: 0.85rem;
    }
    
    .hero-card .sub-highlight {
        font-size: 0.7rem;
    }
    
    .gold-line {
        width: 40px;
        height: 2px;
    }
}

/* ==========================================
   End Of File
========================================== */