/* RandevuTakip Modern Theme */

/* Global Background */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    min-height: 100vh;
}

/* Gradient Card Classes */
.gradient-card-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-card-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.gradient-card-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: white !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(17, 153, 142, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-card-success:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(17, 153, 142, 0.4);
}

.gradient-card-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: white !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-card-warning:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(240, 147, 251, 0.4);
}

.gradient-card-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    color: white !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-card-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
}

/* Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    padding: 20px !important;
    color: white;
    margin-bottom: 24px;
}

.page-header .mud-typography {
    color: white !important;
}

/* Paper/Card Containers */
.theme-paper {
    border-radius: 12px !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-paper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}

/* MudPaper Overrides */
.mud-paper {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Button Styles */
.theme-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.theme-button-primary:hover {
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
}

.theme-button-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3) !important;
}

.theme-button-success:hover {
    box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4) !important;
}

/* Table Styles */
.mud-table {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.mud-table-container {
    border-radius: 12px !important;
    background: white;
}

/* Dialog Styles */
.mud-dialog {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
}

/* Form Styles - Very Compact Text Inputs */
.mud-input {
    border-radius: 6px !important;
}

.mud-input-outlined {
    border-radius: 6px !important;
}

/* Minimal input field height and padding */
.mud-input-slot {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.mud-input-root {
    margin-top: 6px !important;
    margin-bottom: 2px !important;
}

.mud-input-control {
    min-height: auto !important;
}

.mud-input-outlined .mud-input-slot {
    padding: 6px 12px !important;
}

/* Minimal select height */
.mud-select .mud-input-slot {
    padding: 6px 12px !important;
}

/* Minimal date picker height */
.mud-picker .mud-input-slot {
    padding: 6px 12px !important;
}

/* Minimal autocomplete height */
.mud-autocomplete .mud-input-slot {
    padding: 6px 12px !important;
}

/* Reduce input text size slightly for better fit */
.mud-input-slot input {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Adjust label positioning for smaller inputs */
.mud-input-label {
    top: -6px !important;
    font-size: 14px !important;
}

.mud-input-label-inputcontrol {
    top: -6px !important;
    font-size: 12px !important;
}

/* Reduce form control spacing */
.mud-input-root-margin-dense {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
}

/* Chip Styles */
.mud-chip {
    border-radius: 16px !important;
}

/* Avatar Styles */
.mud-avatar {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 960px) {
    .page-header {
        padding: 16px !important;
        margin-bottom: 16px;
    }

    .gradient-card-primary,
    .gradient-card-success,
    .gradient-card-warning,
    .gradient-card-info {
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    }

    .page-header {
        padding: 12px !important;
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .theme-paper,
    .mud-paper {
        border-radius: 8px !important;
        margin-bottom: 12px;
    }

    .gradient-card-primary,
    .gradient-card-success,
    .gradient-card-warning,
    .gradient-card-info {
        border-radius: 8px;
    }
}

/* Spacing Utilities */
.mt-4 {
    margin-top: 16px !important;
}

.mb-4 {
    margin-bottom: 16px !important;
}

.p-4 {
    padding: 16px !important;
}

/* Text Colors for Gradient Backgrounds */
.text-white {
    color: white !important;
}

.text-white .mud-typography {
    color: white !important;
}

.text-white .mud-icon-root {
    color: white !important;
}

/* Calendar Specific Styles */
.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Statistics Card Styles */
.stats-card {
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* AppBar Customization */
.mud-appbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

/* Drawer Customization */
.mud-drawer-paper {
    background: white;
    box-shadow: 4px 0 12px rgba(0,0,0,0.08);
}

/* Navigation Links */
.mud-nav-link {
    border-radius: 8px !important;
    margin: 4px 8px;
    transition: background-color 0.2s ease;
}

.mud-nav-link:hover {
    background-color: rgba(102, 126, 234, 0.1) !important;
}

.mud-nav-link-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.mud-nav-link-active .mud-icon-root {
    color: white !important;
}

/* Loading Overlay */
.mud-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
}

/* Progress Indicators */
.mud-progress-circular {
    color: #667eea !important;
}

.mud-progress-linear {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
