

/* Form uchun uslublar */
.search-form {
    text-align: center;
    margin: 20px;
}

.search-form input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-form button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #0056b3;
}

/* Jadval uchun uslublar */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Umumiy uslublar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2 {
    text-align: center;
    color: #007bff;
}

/* Top tugmalar */
header {
    background-color: #007bff;
    padding: 10px 0;
}

header h1 {
    margin: 0;
    color: white;
}

.top-buttons {
    text-align: center;
    margin: 10px 0;
}

.top-button {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.top-button:hover {
    background-color: #0056b3;
    color: white;
}

/* Ma'lumotlar va hodimlar */
.info-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.info-card {
    width: 45%;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.info-card h2 {
    margin-top: 0;
    color: #007bff;
}

.info-card p, .info-card ul {
    margin: 10px 0;
}

.info-card ul {
    padding: 0;
    list-style: none;
}

.info-card ul li {
    margin-bottom: 10px;
}

.info-card ul li a {
    text-decoration: none;
    color: #007bff;
}

.info-card ul li a:hover {
    text-decoration: underline;
}

/* Form uchun umumiy uslublar */
form {
    width: 50%;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

form input, form textarea, form select, form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #0056b3;
}

/* Sahifaning asosiy qismi */
body {
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    color: #007bff;
    margin-top: 20px;
}

/* Orqaga qaytish havolasi */
.back-link {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.back-link:hover {
    background-color: #bbb;
    color: white;
}

/* Ilmiy Ishlar kartochkasi */
.ilmiy-ishlar-card {
    background-color: #f4faff;
    border: 1px solid #007bff;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.ilmiy-ishlar-button {
    display: block;
    margin-top: 20px;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.ilmiy-ishlar-button:hover {
    background-color: #0056b3;
}

/* Jadval uslublari */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f1f1f1;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Orqaga qaytish tugmasi */
.back-link {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.back-link:hover {
    background-color: #bbb;
    color: white;
}

/* Hodimlar kartochkasi */
.hodimlar-card {
    background-color: #fdf4f4;
    border: 1px solid #ff4d4d;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.hodimlar-button {
    display: block;
    margin-top: 20px;
    text-align: center;
    background-color: #ff4d4d;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hodimlar-button:hover {
    background-color: #cc0000;
}

/* Umumiy sahifa uslubi */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px 0;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 24px;
}

/* Jadval uslubi */
.ilmiy-ishlar-container {
    width: 90%;
    margin: 20px auto;
    overflow-x: auto;
}

.ilmiy-ishlar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.ilmiy-ishlar-table th, .ilmiy-ishlar-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.ilmiy-ishlar-table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.ilmiy-ishlar-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ilmiy-ishlar-table tr:hover {
    background-color: #f1f1f1;
}

/* Fayl yuklash havolasi */
.ilmiy-ishlar-table a {
    color: #007bff;
    text-decoration: none;
}

.ilmiy-ishlar-table a:hover {
    text-decoration: underline;
}

/* Orqaga qaytish tugmasi */
.back-link {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.back-link:hover {
    background-color: #0056b3;
}

/* Navigation buttons (Bosh Sahifa va Chiqish tugmalari) */
.navigation-buttons {
    position: absolute; /* Absolute pozitsiya */
    top: 20px; /* Yuqoridan masofa */
    right: 20px; /* O'ngdan masofa */
    display: flex; /* Tugmalarni bir qatorda joylashtirish */
    gap: 10px; /* Tugmalar orasidagi masofa */
}

.navigation-buttons .home-button {
    background-color: #28a745; /* Salat rang */
    color: white;
    padding: 10px 15px; /* Kichikroq padding */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px; /* Matn o‘lchamini moslashtirish */
}

.navigation-buttons .home-button:hover {
    background-color: #218838; /* Qorong‘iroq salat rang */
}

.navigation-buttons .logout-button {
    background-color: #ff4d4d; /* Qizil rang */
    color: white;
    padding: 10px 15px; /* Kichikroq padding */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px; /* Matn o‘lchamini moslashtirish */
}

.navigation-buttons .logout-button:hover {
    background-color: #cc0000; /* Qorong‘iroq qizil rang */
}

/* Drag and Drop uchun uslub */
.drag-drop {
    border: 2px dashed #007bff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
}

.drag-drop input[type="file"] {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.drag-drop:hover {
    background-color: #e0e0ff;
}

/* Hodim sahifasi umumiy konteyner */
.hodim-sahifa {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.hodim-sahifa header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
}

.hodim-sahifa .header-buttons a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
}

.hodim-sahifa .header-buttons .edit-button {
    background-color: #ffc107;
}

.hodim-sahifa .header-buttons .delete-button {
    background-color: #ff4d4d;
}

.hodim-sahifa .header-buttons .back-button {
    background-color: #28a745;
}

/* Profil ma'lumotlari */
.hodim-sahifa .profile-container {
    display: flex;
    margin: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hodim-sahifa .profile-left {
    flex: 1;
    text-align: center;
}

.hodim-sahifa .profile-left .profile-image {
    max-width: 200px;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.hodim-sahifa .profile-right {
    flex: 2;
    margin-left: 20px;
}

/* Jadval uslublari */
.hodim-sahifa table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.hodim-sahifa th, .hodim-sahifa td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.hodim-sahifa th {
    background-color: #007bff;
    color: white;
}

.hodim-sahifa tr:nth-child(even) {
    background-color: #f9f9f9;
}

.hodim-sahifa tr:hover {
    background-color: #f1f1f1;
}

.hodim-sahifa .table-controls {
    margin: 10px 0;
}

/* Tugmalar umumiy uslubi */
.file-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

/* Ko'rish tugmasi */
.file-buttons .view-button {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.file-buttons .view-button:hover {
    background-color: #218838;
}

/* O'chirish tugmasi */
.file-buttons .delete-button {
    background-color: #ff4d4d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.file-buttons .delete-button:hover {
    background-color: #cc0000;
}

/* Bo'limlar sahifasi uslublari */
.bolimlar-page {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
}

.bolimlar-page h1, .bolimlar-page h2 {
    color: #4a5568;
    text-align: center;
    margin-bottom: 20px;
}

.bolim-qoshish-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.bolim-qoshish-form label {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
}

.bolim-qoshish-form input, .bolim-qoshish-form button {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

.bolim-qoshish-form input {
    border: 1px solid #cbd5e0;
    width: 300px;
}

.bolim-qoshish-form button {
    background-color: #4299e1;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bolim-qoshish-form button:hover {
    background-color: #2b6cb0;
}

.bolimlar-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.bolimlar-table th, .bolimlar-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.bolimlar-table th {
    background-color: #3182ce;
    color: white;
    text-transform: uppercase;
}

.bolimlar-table tr:nth-child(even) {
    background-color: #f7fafc;
}

.bolimlar-table tr:hover {
    background-color: #ebf8ff;
}

/* Admin panelga o'tish tugmasi */
.admin-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.admin-button a {
    text-decoration: none;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.admin-button a:hover {
    background-color: #388e3c;
}

/* Ilmiy ish qo'shish sahifasi uslublari */
.add-malumot-page {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
}

.add-malumot-page h1 {
    text-align: center;
    color: #4a5568;
}

.malumot-qoshish-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.malumot-qoshish-form label {
    font-weight: bold;
    color: #2d3748;
    display: block;
    margin-bottom: 5px;
}

.malumot-qoshish-form input,
.malumot-qoshish-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
}

.malumot-qoshish-form button {
    width: 100%;
    padding: 10px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.malumot-qoshish-form button:hover {
    background-color: #2b6cb0;
}

.drag-drop {
    border: 2px dashed #cbd5e0;
    padding: 20px;
    text-align: center;
    color: #a0aec0;
    margin-bottom: 15px;
}

/* Admin Panelga o'tish tugmasi */
.admin-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.admin-button a {
    text-decoration: none;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.admin-button a:hover {
    background-color: #388e3c;
}

/* Ilmiy Ishlar sahifasi */
.ilmiy-ishlar-page {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
}

.ilmiy-ishlar-page h1 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 20px;
}

.ilmiy-ishlar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.ilmiy-ishlar-table th,
.ilmiy-ishlar-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.ilmiy-ishlar-table th {
    background-color: #3182ce;
    color: white;
    text-transform: uppercase;
}

.ilmiy-ishlar-table tr:nth-child(even) {
    background-color: #f7fafc;
}

.ilmiy-ishlar-table tr:hover {
    background-color: #ebf8ff;
}

.ilmiy-ishlar-table .no-data {
    text-align: center;
    color: #718096;
    font-style: italic;
}


