/*
 * EVM Management System - Modern Responsive Styles
 * Custom CSS for beautiful, responsive UI design
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Color Palette - Modern Teal/Emerald Theme */
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    
    /* Accent Colors */
    --accent-color: #f97316;
    --accent-light: #fb923c;
    --accent-dark: #ea580c;
    
    /* Success, Warning, Danger */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Neutral Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ==================== Base Styles ==================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'DM Sans', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fffe 50%, #f0fdf4 100%);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* ==================== Enhanced Navbar ==================== */
.navbar {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1rem;
    min-height: 70px;
    border-bottom: 3px solid var(--accent-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem !important;
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar-brand img {
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    padding: 4px;
    transition: transform var(--transition-normal);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar .btn-link {
    color: rgba(255,255,255,0.9) !important;
    transition: all var(--transition-fast);
}

.navbar .btn-link:hover {
    color: var(--accent-color) !important;
    transform: scale(1.1);
}

/* ==================== Enhanced Sidebar ==================== */
.sidebar {
    background: linear-gradient(180deg, #134e4a 0%, #115e59 100%) !important;
    box-shadow: var(--shadow-xl);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar .nav-item {
    margin: 2px 8px;
}

.sidebar .nav-item .nav-link {
    color: rgba(255,255,255,0.8) !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar .nav-item .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
    transform: translateX(5px);
}

.sidebar .nav-item.active .nav-link,
.sidebar .nav-item .nav-link:active {
    background: var(--accent-color);
    color: var(--primary-dark) !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.sidebar .nav-item .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar .nav-item .nav-link span {
    font-size: 0.9rem !important;
}

@media (min-width: 768px) {
    .sidebar .nav-item .nav-link span {
        font-size: 0.95rem !important;
    }
}

/* ==================== Content Wrapper ==================== */
#content-wrapper {
    background: var(--bg-primary);
    min-height: 100vh;
}

.container-fluid {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .container-fluid {
        padding: 2rem;
    }
}

/* ==================== Enhanced Cards ==================== */
.card {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: 3px solid var(--accent-color);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* ==================== Modern Forms ==================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label,
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
}

.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    color: var(--text-primary);
    background-color: #fff;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}

.form-control::placeholder,
input::placeholder {
    color: var(--text-muted);
}

/* ASP.NET TextBox styling */
input[type="text"][id*="txt"],
input[type="password"][id*="txt"],
input[id*="TextBox"] {
    background-color: #fffef5 !important;
    border-color: var(--border-color) !important;
}

input[type="text"][id*="txt"]:focus,
input[type="password"][id*="txt"]:focus,
input[id*="TextBox"]:focus {
    background-color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15) !important;
}

/* ==================== Dropdown Styling ==================== */
select,
.dropdown-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%230d9488' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    cursor: pointer;
    text-align: left;
    text-align-last: left;
}

select option {
    text-align: left;
    padding: 0.5rem;
}

/* ASP.NET DropDownList styling */
select[id*="DD_"],
select[id*="DropDown"] {
    background-color: #fffef5 !important;
    min-height: 45px;
    font-size: 1rem;
}

select[id*="DD_"]:focus,
select[id*="DropDown"]:focus {
    background-color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* ==================== Button Styles ==================== */
.btn,
input[type="submit"],
input[type="button"],
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    min-width: 120px;
}

.btn-primary,
input[type="submit"],
input[type="button"] {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    color: var(--text-primary) !important;
    background-color: var(--bg-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-1px);
}

.btn-success {
    color: #fff !important;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    border-color: var(--success-color);
}

.btn-danger {
    color: #fff !important;
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    border-color: var(--danger-color);
}

.btn-warning {
    color: var(--primary-dark) !important;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    border-color: var(--accent-color);
}

/* ==================== Checkbox & Radio Styling ==================== */
input[type="checkbox"],
input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-wrapper,
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* ==================== Table Styles ==================== */
.table-responsive {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

table tbody tr {
    transition: background-color var(--transition-fast);
}

table tbody tr:hover {
    background-color: rgba(13, 148, 136, 0.06);
}

table tbody tr:nth-child(even) {
    background-color: #f8fffe;
}

table tbody tr:nth-child(even):hover {
    background-color: rgba(13, 148, 136, 0.08);
}

/* GridView Styling */
.GridViewStyle {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.GridViewStyle th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.875rem 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.GridViewStyle td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* ==================== Page Header ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.page-header h1,
.page-header h2,
.page-header h3 {
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

/* ==================== Form Container ==================== */
.form-container {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row > .form-group {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .form-row > .form-group {
        min-width: 100%;
    }
}

/* ==================== Login Form Specific ==================== */
.login-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border-top: 4px solid var(--primary-color);
}

.login-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.login-container .form-group {
    margin-bottom: 1.5rem;
}

.login-container .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ==================== Validation Styles ==================== */
.field-validation-error,
span[style*="Color:Maroon"],
span[style*="color:Maroon"],
span[style*="color: Maroon"],
span[style*="ForeColor:Maroon"] {
    color: var(--danger-color) !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.validation-summary-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--danger-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--danger-color);
}

/* ==================== Alert/Message Boxes ==================== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: #ecfdf5;
    border-color: var(--success-color);
    color: #065f46;
}

.alert-warning {
    background: #fffbeb;
    border-color: var(--warning-color);
    color: #92400e;
}

.alert-danger {
    background: #fef2f2;
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border-color: var(--info-color);
    color: #1e40af;
}

/* ==================== Section Headers ==================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h3,
.section-header h4 {
    margin: 0;
    color: var(--primary-color);
}

.section-header i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* ==================== Responsive Table Wrapper ==================== */
.modern-table-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.modern-table-wrapper table {
    margin: 0;
}

/* ==================== Form Field Groups ==================== */
.field-group {
    display: grid;
    grid-template-columns: minmax(150px, 200px) 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.field-group:last-child {
    border-bottom: none;
}

.field-label {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .field-group {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .field-label {
        text-align: left;
        padding-right: 0;
    }
}

/* ==================== Info Box ==================== */
.info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.info-box-content h5 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.info-box-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== Footer ==================== */
footer.sticky-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: #fff;
    border-top: 3px solid var(--accent-color);
}

footer.sticky-footer .copyright {
    color: rgba(255,255,255,0.8);
}

/* ==================== Scroll to Top Button ==================== */
.scroll-to-top {
    background: var(--primary-color) !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.scroll-to-top:hover {
    background: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* ==================== User Dropdown ==================== */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
}

/* ==================== Modal Styles ==================== */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #fff;
    border-bottom: 3px solid var(--accent-color);
    padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

/* ==================== Update Progress ==================== */
.update-progress-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ==================== Loading Animation ==================== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ==================== Utility Classes ==================== */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-md);
}

.shadow-strong {
    box-shadow: var(--shadow-xl);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

/* ==================== Responsive Adjustments ==================== */
@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.2rem; }
    
    .navbar-brand {
        font-size: 0.9rem !important;
    }
    
    .navbar-brand img {
        height: 50px !important;
        width: auto !important;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1.25rem;
    }
    
    .btn,
    input[type="submit"],
    input[type="button"] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 60px !important;
        width: auto !important;
    }
    
    .sidebar {
        width: 0 !important;
        min-height: auto;
    }
    
    #wrapper.toggled .sidebar {
        width: 225px !important;
    }
    
    footer.sticky-footer {
        width: 100% !important;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .sidebar,
    .navbar,
    footer,
    .scroll-to-top,
    .btn,
    input[type="submit"],
    input[type="button"] {
        display: none !important;
    }
    
    #content-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ==================== Old Table Style Overrides ==================== */
table.style1,
table[class*="style"] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

table.style1 td,
table[class*="style"] td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
}

table.style1 tr:not(:last-child) td,
table[class*="style"] tr:not(:last-child) td {
    border-bottom: 1px solid var(--border-color);
}

/* ==================== ASP GridView Modern Styling ==================== */
div[id*="GridView"],
table[id*="GridView"] {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
}

table[id*="GridView"] th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.875rem 1rem !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    border: none !important;
}

table[id*="GridView"] td {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--border-color) !important;
    border-left: none !important;
    border-right: none !important;
    background: #fff !important;
}

table[id*="GridView"] tr:nth-child(even) td {
    background: #f8fafc !important;
}

table[id*="GridView"] tr:hover td {
    background: rgba(13, 148, 136, 0.06) !important;
}

/* ==================== Label Styles ==================== */
span[id*="Label"],
label[id*="Label"],
.label-display {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-primary);
}

/* ==================== Action Button Group ==================== */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.action-buttons .btn,
.action-buttons input[type="submit"],
.action-buttons input[type="button"] {
    min-width: 150px;
}

/* ==================== Form Panel ==================== */
.form-panel {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.form-panel-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.form-panel-header h2,
.form-panel-header h3 {
    margin: 0;
    color: var(--primary-color);
}

/* ==================== Badge Styles ==================== */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50rem;
}

.badge-primary {
    background: var(--primary-color);
    color: #fff;
}

.badge-success {
    background: var(--success-color);
    color: #fff;
}

.badge-warning {
    background: var(--warning-color);
    color: var(--primary-dark);
}

.badge-danger {
    background: var(--danger-color);
    color: #fff;
}






