/* ========================================
   MODERN IMPROVEMENTS
   Better design without breaking anything
   ======================================== */

/* Modern Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Login page improvements ONLY */
.auth_main_container {
    background: linear-gradient(135deg, #17564B 0%, #0F3D35 100%) !important;
}

.modal_container {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: none;
}

.serv_modal_title {
    background: linear-gradient(135deg, #17564B 0%, #1F6B5D 100%) !important;
    font-weight: 600;
}

.serv_modal_body .form-control {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: border-color 0.25s ease;
}

.serv_modal_body .form-control:focus {
    border-color: #17564B;
    box-shadow: 0 0 0 3px rgba(23, 86, 75, 0.1);
}

.serv_modal_body .btn.btn-primary {
    background: linear-gradient(135deg, #17564B 0%, #1F6B5D 100%) !important;
    border-radius: 24px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.serv_modal_body .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Header improvements */
header {
    background: linear-gradient(135deg, #17564B 0%, #0F3D35 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-logo {
    transition: transform 0.25s ease;
}

.admin-logo-link:hover .admin-logo {
    transform: scale(1.05);
}

.exit_admin_container a {
    border-radius: 24px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.exit_admin_container a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Tables */
.admin-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.admin-table > thead > tr > th {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%) !important;
    color: #2C3E50 !important;
    font-weight: 600;
}

.admin-table-info td {
    transition: background-color 0.15s ease;
}

.admin-table-info td:first-child {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%) !important;
    color: #2C3E50 !important;
    font-weight: 600;
}

.admin-table-info td:hover {
    background-color: #F8F9FA;
}

.admin-table-info td:first-child:hover {
    background: linear-gradient(135deg, #DEDEDE 0%, #EBEBEB 100%) !important;
}

/* Buttons */
.btn-custom-green,
.standart_service_button,
.admin_created_button a {
    background: linear-gradient(135deg, #17564B 0%, #1F6B5D 100%) !important;
    border-radius: 24px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.btn-custom-green:hover,
.standart_service_button:hover,
.admin_created_button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.index_action_button {
    border-radius: 10px;
    background: linear-gradient(135deg, #17564B 0%, #1F6B5D 100%) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.index_action_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Menu */
.admin-menu li a {
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.admin-menu li a:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modals */
.modal-content {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #17564B 0%, #1F6B5D 100%) !important;
    font-weight: 600;
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Forms */
.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: #17564B;
    box-shadow: 0 0 0 3px rgba(23, 86, 75, 0.1);
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.breadcrumb-item a {
    color: #17564B;
    font-weight: 500;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: #0F3D35;
}

/* Mobile menu */
.mobile-menu {
    background: linear-gradient(180deg, #0F3D35 0%, #17564B 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Override green backgrounds in all tables */
.main_details_table tr td:first-child {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%) !important;
    color: #2C3E50 !important;
}

.main_details_table th {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%) !important;
    color: #2C3E50 !important;
}
