/* FAYL: assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
}

/* Giriş səhifəsi stilləri */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 10px;
}
.login-subtitle {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 30px;
}
.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}
.form-group {
    margin-bottom: 25px;
}
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.login-btn {
    width: 100%;
    padding: 15px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Ümumi Sistem Stilləri */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 320px;
    background: white;
    padding: 30px 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; /* Tam ekran hündürlüyü */
    position: sticky;
    top: 0;
}
/* DƏYİŞİKLİK: Yuxarı menyu bloku üçün */
.sidebar-top {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Flexbox scroll üçün lazımdır */
}
.sidebar-header {
    margin-bottom: 30px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 15px;
    color: #5b5b5b;
    font-weight: 500;
    text-decoration: none;
}
.menu-item:hover {
    background: #f0f0f5;
}
.menu-item.active {
    background: #e8e7f5;
    color: #6366f1;
}
.menu-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}
.new-project-btn {
    width: 100%;
    padding: 15px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.new-project-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.sidebar-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0; /* Top margin silindi */
}

/* Layihə axtarış input */
.project-search-box {
    position: relative;
    margin-bottom: 15px;
    margin-top: 25px; /* Yuxarıdakı düymədən aralı */
}

.project-search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.project-search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.project-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
}

/* Layihələr container - scroll edilə bilər */
.projects-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    min-height: 0; /* Flexbox scroll üçün lazımdır */
}
.project-list-item {
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #5b5b5b;
    font-size: 14px;
    text-decoration: none;
}
.project-list-item:hover {
    background: #f0f0f5;
}
.project-list-item.active {
    background: #e8e7f5;
    color: #6366f1;
}
/* Layihə siyahısı boş mətn */
.projects-empty {
    padding: 15px 20px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

/* Scroll bar dizaynı */
.projects-container::-webkit-scrollbar {
    width: 6px;
}
.projects-container::-webkit-scrollbar-track {
    background: transparent;
}
.projects-container::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}
.projects-container::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* DÜZƏLİŞ: Sidebar-dakı istifadəçi menyusu dizaynı */
.sidebar-footer {
    border-top: 2px solid #f3f4f6;
    padding-top: 20px;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px; /* Avatar, mətn və düymə arası məsafə */
}
/* DÜZƏLİŞ: Avatar üçün ölçü */
.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0; /* Kiçilməməsi üçün */
}
.user-profile-info {
    flex: 1;
    min-width: 0; /* Flexbox-un kiçilməsinə icazə vermək üçün */
    text-align: left; /* DÜZƏLİŞ: Mətni (ad və rol) sola düzləndirir */
}
.user-profile-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Ad uzundursa ... ilə kəs */
}
.user-profile-role {
    font-size: 13px;
    color: #6b7280;
}
.logout-btn-sidebar {
    background: #f3f4f6;
    color: #ef4444;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logout-btn-sidebar:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 50px;
    overflow-y: auto;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* DÜZƏLİŞ: Düymələri başlıqla eyni səviyyəyə gətir */
    margin-bottom: 30px;
}
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0; /* DÜZƏLİŞ: Alt boşluğu sildim */
}
.page-subtitle {
    font-size: 15px;
    color: #6b7280;
    font-weight: 400;
}
/* DÜZƏLİŞ: Səhifə başlığındakı başlıq/alt-başlıq qrupu */
.page-title-section {
    flex-grow: 1; /* Sol tərəfin böyüməsinə icazə ver */
}
h1 {
    font-size: 32px;
    font-weight: 700;
}
/* DÜZƏLİŞ: Yuxarıdakı düymə qrupu üçün yeni stil */
.header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0; /* Düymələrin kiçilməməsi üçün */
}

/* --------- Dashboard Səhifəsi Stilləri --------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
.stat-card-blue { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: white; }
.stat-card-green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); color: white; }
.stat-card-purple { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%); color: white; }
.stat-card-label { font-size: 14px; font-weight: 500; margin-bottom: 12px; opacity: 0.95; }
.stat-card-value { font-size: 48px; font-weight: 700; margin-bottom: 10px; }
.stat-card-icon { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 60px; opacity: 0.2; }
.section-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.section-title { font-size: 22px; font-weight: 700; color: #1f2937; }
.section-subtitle { font-size: 14px; color: #6b7280; }
.empty-state { text-align: center; padding: 40px 20px; color: #9ca3af; }
.empty-state-icon { font-size: 48px; margin-bottom: 15px; opacity: 0.5; }
.empty-state-text { font-size: 15px; }
.expense-card {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}
.expense-label { font-size: 16px; font-weight: 500; margin-bottom: 15px; opacity: 0.95; }
.expense-amount { font-size: 42px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.expense-icon { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 70px; opacity: 0.15; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.project-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}
.project-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}
.project-card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 15px; }
.project-name { font-size: 18px; font-weight: 600; color: #1f2937; margin-bottom: 5px; }
.project-date { font-size: 12px; color: #9ca3af; }
.project-status { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.status-active { background: #d1fae5; color: #065f46; }
.status-inactive { background: #fee2e2; color: #991b1b; }
.project-description { color: #6b7280; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.project-services { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* --------- Settings Səhifəsi Stilləri --------- */
.settings-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.add-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.add-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.service-type-card {
    background: #fafafa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    cursor: pointer;
}
.service-type-card:hover { border-color: #6366f1; background: #f8f8ff; }
.service-type-info { display: flex; align-items: center; gap: 12px; }
.service-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.service-type-name { font-size: 15px; font-weight: 600; color: #1f2937; }
.delete-icon-btn {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: all 0.3s;
    opacity: 0;
}
.service-type-card:hover .delete-icon-btn { opacity: 1; }
.delete-icon-btn:hover { color: #dc2626; transform: scale(1.2); }
.users-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.users-table thead { background: #fafafa; }
.users-table th {
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.users-table td { padding: 15px; border-bottom: 1px solid #e5e7eb; font-size: 14px; color: #1f2937; }
.users-table tr:hover { background: #fafafa; }
.user-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
.user-info-cell { display: flex; align-items: center; gap: 12px; }
.user-name { font-weight: 600; color: #1f2937; }
.user-email { font-size: 13px; color: #6b7280; margin-top: 2px; }
.role-badge { padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.role-admin { background: #dbeafe; color: #1e40af; }
.role-user { background: #e0e7ff; color: #4338ca; }
.action-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 16px;
}
.action-btn:hover { background: #f3f4f6; color: #1f2937; }
.action-btn.delete:hover { background: #fee2e2; color: #dc2626; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal.show { display: flex; }
.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f3f4f6;
}
.modal-title { font-size: 22px; font-weight: 700; color: #1f2937; }
.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
}
.close-modal:hover { background: #f3f4f6; color: #1f2937; }
.icon-picker {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.icon-option {
    width: 45px;
    height: 45px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    color: #6b7280;
}
.icon-option:hover { border-color: #6366f1; color: #6366f1; background: #f8f8ff; }
.icon-option.selected { border-color: #6366f1; background: #6366f1; color: white; }
.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 30px;
    background: #f9fafb;
}
.btn-cancel {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-cancel:hover { background: #f3f4f6; border-color: #d1d5db; }
.btn-submit {
    padding: 12px 24px;
    border: none;
    background: #6366f1;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-submit:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* --------- Project Details Səhifəsi Stilləri --------- */
.delete-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.delete-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.form-section {
    background: white; 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
    margin-bottom: 30px; 
}
textarea.form-input { resize: vertical; min-height: 100px; }

.choice-buttons {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.choice-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}
.choice-btn.active {
    background: #e8e7f5;
    color: #6366f1;
}
.form-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #374151;
}

.add-service-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.add-service-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.form-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 25px;
}


/* --------- Hesab Bankı Səhifəsi Stilləri --------- */
.search-filter-bar {
    background: white; 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
    margin-bottom: 30px; 
}
textarea.form-input { resize: vertical; min-height: 100px; }

.add-service-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.add-service-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.form-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 25px;
}


/* --------- Hesab Bankı Səhifəsi Stilləri --------- */
/* Filter Section */
.search-filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.search-box { flex: 1; min-width: 250px; position: relative; }
.search-input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}
.filter-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    background: white;
    cursor: pointer;
    min-width: 180px;
}
.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.add-account-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.add-account-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.account-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}
.account-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.account-card:active {
    transform: translateY(0);
}
.account-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.account-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.account-info {
    flex: 1;
    min-width: 0;
}
.account-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-type { font-size: 13px; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.account-actions { display: flex; gap: 8px; }
.action-icon-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 16px;
}
.action-icon-btn:hover { background: #f3f4f6; color: #6366f1; }
.action-icon-btn.delete:hover { background: #fee2e2; color: #dc2626; }
.account-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}
.account-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}
.account-detail i {
    width: 16px;
    text-align: center;
    color: #9ca3af;
}
.account-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.copy-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
}
.copy-btn:hover { background: #f3f4f6; color: #6366f1; }
.password-value { font-family: monospace; letter-spacing: 2px; }
.toggle-password-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 14px;
}
.toggle-password-btn:hover { background: #f3f4f6; color: #6366f1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.project-tag {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar { width: 280px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .accounts-grid { grid-template-columns: 1fr; }
    .search-filter-bar { flex-direction: column; align-items: stretch; }
    .search-box { margin-left: 0 !important; }
}

/* FAYL: assets/css/style.css - LAYİHƏLƏR SƏHİFƏSİ ƏLAVƏ STİLLƏR */

/* Primary button stil */
.btn-primary {
    background: #6366f1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Layihələr grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Layihə kartı */
.project-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.project-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

/* Layihə kart başlığı */
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.project-date {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Layihə status */
.project-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-paused {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: #e0e7ff;
    color: #3730a3;
}

/* Layihə təsviri */
.project-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 44px;
}

/* Layihə statistikaları */
.project-stats {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 2px solid #f3f4f6;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.project-stat i {
    color: #6366f1;
    font-size: 14px;
}

/* Responsive düzəliş */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* FAYL: assets/css/style.css - SERVİS KARTLARI */

/* Servis siyahısı */
.services-list {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

/* Servis kartı */
.service-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Servis kart başlığı */
.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-type-name,
.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.service-account {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.service-username {
    color: #9ca3af;
    font-style: italic;
}

.service-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Servis kart body */
.service-card-body {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.service-detail i {
    color: #6366f1;
    font-size: 14px;
}

/* Action icon button */
.action-icon-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 16px;
}

.action-icon-btn:hover {
    background: #f3f4f6;
    color: #6366f1;
}

.action-icon-btn.delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* View Modal Styles */
.view-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0; 
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
}

.view-detail-row:last-child {
    border-bottom: none;
}

.view-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    flex-shrink: 0;
}

.view-value {
    color: #6b7280;
    flex: 1;
    word-break: break-word;
}

.view-value a {
    color: #3b82f6;
    text-decoration: none;
}

.view-value a:hover {
    text-decoration: underline;
}

.btn-toggle-password {
    background: #f3f4f6;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s;
}

.btn-toggle-password:hover {
    background: #e5e7eb;
    color: #374151;
}

/* View Mode Styles */
.info-grid {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #374151;
    min-width: 150px;
    flex-shrink: 0;
}

.info-value {
    color: #6b7280;
    flex: 1;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 15px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

/* Button Styles */
.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-copy {
    background: #f3f4f6;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #e5e7eb;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.project-link:hover {
    background: #e5e7eb;
}

/* Loading & Empty States */
.loading-state, .empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-state-text {
    color: #6b7280;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content { padding: 20px; }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box, .filter-select {
        width: 100%;
    }
    .view-detail-row {
        flex-direction: column;
        gap: 8px;
    }
    .view-label {
        min-width: auto;
    }
}

/* ============================================== */
/* ACCOUNTS PAGE STYLES - V2.0                  */
/* ============================================== */

/* ACCOUNTS PAGE STYLES */
/* Köhnə filter styles silindi - yeni dizayn aşağıda */

/* Account Cards */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.account-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.account-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.account-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-type {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.account-actions {
    display: flex;
    gap: 5px;
}

.account-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.account-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.account-detail i {
    width: 16px;
    text-align: center;
    color: #9ca3af;
}

.account-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* View Modal Styles */
.view-detail-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
    align-items: flex-start;
}

.view-detail-row:last-child {
    border-bottom: none;
}

.view-label {
    font-weight: 600;
    color: #374151;
    min-width: 180px;
    flex-shrink: 0;
}

.view-value {
    color: #6b7280;
    flex: 1;
    word-break: break-word;
}

.view-value a {
    color: #3b82f6;
    text-decoration: none;
}

.view-value a:hover {
    text-decoration: underline;
}

.btn-toggle-password {
    background: #f3f4f6;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-toggle-password:hover {
    background: #e5e7eb;
}

.btn-copy {
    background: #f3f4f6;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #e5e7eb;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.project-link:hover {
    background: #e5e7eb;
}

/* Action Icons */
.action-icon-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s;
}

.action-icon-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.action-icon-btn.delete:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Loading & Empty States */
.loading-state, .empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-state-text {
    color: #6b7280;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        margin-left: 0 !important;
    }
    
    .view-detail-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .view-label {
        min-width: auto;
    }
}
/* ============================================
   IMPROVED FILTER & SEARCH DESIGN
   ============================================ */

/* Filter Container - Modern Design */
.filter-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group label {
    color: white;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label i {
    font-size: 16px;
    opacity: 0.9;
}

/* Filter Select Inputs */
.filter-select {
    min-width: 180px;
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-select:focus {
    border-color: white;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search Box - Enhanced */
.search-box {
    position: relative;
    flex-shrink: 0;
}

.search-input {
    min-width: 280px;
    padding: 11px 16px 11px 44px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: white;
}

.search-input:focus {
    border-color: white;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 16px;
    pointer-events: none;
}

/* Responsive için filter düzenlemesi */
@media (max-width: 992px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: center;
    }

    .search-box {
        margin-left: 0 !important;
    }

    .search-input {
        width: 100%;
        min-width: auto;
    }
}
