/**
 * Setup Panel - Ana CSS Dosyası
 * Modern, responsive, tema desteği olan tasarım
 */

:root {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-sidebar: #2c3e50;
    --bg-header: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --border-color: #dee2e6;
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-sidebar: #1e1e1e;
    --bg-header: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-light: #ffffff;
    --border-color: #404040;
    --primary-color: #4a9eff;
    --primary-hover: #357abd;
    --shadow: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

/* Layout shift önleme - sayfa yüklenirken kaymayı engelle */
.wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    background-color: var(--bg-sidebar);
    color: var(--text-light);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease, margin-left 0.3s ease;
    z-index: 1000;
    left: 0;
    top: 0;
}

.main-content {
    margin-left: 250px;
    flex: 1;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    width: calc(100% - 250px);
    min-width: 0;
    position: relative;
    overflow-x: hidden;
}

/* Layout Shift Prevention - Critical */
.main-content .content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
    position: relative;
}

.login-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.5;
    animation: iconRipple 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes iconRipple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.login-icon-wrapper i {
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.login-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 400;
}

.login-form {
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease-out both;
}

.login-form .form-group:nth-child(1) {
    animation-delay: 0.3s;
}

.login-form .form-group:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-wrapper {
    position: relative;
    margin-top: 20px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 3;
}

.login-form .form-control {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    background-color: #f8f9fa;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.login-form .form-control:focus {
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.login-form #password {
    padding-right: 60px;
}

.input-wrapper.has-value .input-label {
    /* Sadece input'a değer girildiğinde label gizlenir */
    opacity: 0;
    visibility: hidden;
}

.login-form .form-control:focus ~ .input-icon {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

.input-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 3;
}

.password-toggle:hover {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

.btn-login {
    position: relative;
    overflow: hidden;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-login:hover::before {
    width: 300px;
    height: 300px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login.loading {
    pointer-events: none;
}

.btn-login.loading .btn-text {
    opacity: 0;
}

.btn-login.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-text {
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.btn-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-login:hover .btn-icon {
    transform: translateY(-50%) translateX(5px);
}

.login-footer {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.demo-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-accounts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.demo-role {
    font-weight: 600;
    color: #667eea;
    font-size: 13px;
}

.demo-credentials {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.alert-animate {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Page Responsive */
@media (max-width: 768px) {
    .login-container {
        max-width: 100%;
        padding: 15px;
    }

    .login-card {
        padding: 35px 25px;
        border-radius: 15px;
    }

    .login-header h1 {
        font-size: 26px;
    }

    .login-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .login-icon-wrapper i {
        font-size: 35px;
    }

    .login-form .form-control {
        padding: 14px 45px 14px 45px;
        font-size: 14px;
    }

    .input-icon {
        left: 15px;
        font-size: 15px;
    }

    .input-label {
        left: 45px;
        font-size: 14px;
    }

    .input-wrapper.has-value .input-label {
        /* Sadece input'a değer girildiğinde label gizlenir */
        opacity: 0;
        visibility: hidden;
    }

    .password-toggle {
        right: 15px;
    }

    .btn-login {
        padding: 14px 25px;
        font-size: 15px;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .demo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Sidebar Header */
.sidebar-header {
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.sidebar-header i {
    margin-right: 10px;
    color: var(--primary-color);
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
    border-left-color: var(--primary-color);
}

.nav-item.active {
    background-color: rgba(255,255,255,0.15);
    color: var(--text-light);
    border-left-color: var(--primary-color);
}

.nav-item i {
    width: 20px;
    margin-right: 10px;
}

/* Header */
.header {
    background-color: var(--bg-header);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    position: relative;
    color: var(--text-primary);
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.header-icon:hover {
    background-color: var(--bg-secondary);
}

.header-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Bildirim Dropdown */
.notification-dropdown {
    position: relative;
}

.notification-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 350px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
}

.notification-dropdown.active .notification-dropdown-content {
    display: block;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.notification-header a {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: var(--bg-secondary);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.notification-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.notification-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
}

.notification-pulse {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.user-menu {
    position: relative;
}

.user-name {
    padding: 8px 15px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.user-name:hover {
    background-color: var(--border-color);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.user-menu.active .user-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hover durumunda da açık kalsın - JavaScript ile yönetiliyor artık */
.user-menu:hover .user-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.user-dropdown a:hover {
    background-color: var(--bg-secondary);
}

.user-dropdown a i {
    width: 20px;
    margin-right: 10px;
}

/* Global Arama */
.search-dropdown {
    position: relative;
    margin-right: 15px;
}

.search-input-wrapper {
    position: relative;
    width: 250px;
}

.search-input-wrapper input {
    padding-left: 35px;
    padding-right: 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: var(--bg-secondary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.search-result-description {
    font-size: 12px;
    color: var(--text-secondary);
}

.search-result-type {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    margin-right: 8px;
    background: var(--primary-color);
    color: white;
}

.search-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
}

/* Content */
.content {
    padding: 30px;
}

/* Cards */
.card {
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.card-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.card-body {
    /* Card body content */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-secondary {
    background-color: var(--text-secondary);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label i {
    margin-right: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
    margin-left: 15px;
}

.alert-close:hover {
    opacity: 1;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.table tbody tr:hover {
    background-color: var(--bg-secondary);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: #212529;
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 24px;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 500;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 18px;
    }
    
    .content {
        padding: 15px;
    }
    
    .card {
        padding: 15px;
    }
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
}

@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }

/* Setup Form Styles */
.setup-field-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.setup-field-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.setup-mini-card {
    transition: all 0.2s ease;
}

.setup-mini-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.setup-mini-card .copy-btn:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

/* Notes Styles */
.note-card {
    transition: all 0.3s ease;
}

.note-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px);
    border-color: var(--primary-color) !important;
}

.note-avatar {
    transition: transform 0.2s ease;
}

.note-card:hover .note-avatar {
    transform: scale(1.05);
}

.note-content {
    word-break: break-word;
}

.note-actions .btn-link {
    transition: all 0.2s ease;
}

.note-actions .btn-link:hover {
    transform: scale(1.15);
}

/* Task Styles */
.task-card {
    transition: all 0.3s ease;
}

.task-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px);
    border-color: var(--primary-color) !important;
}

.task-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-preparing {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-progress {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-pending {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.badge-completed {
    background: linear-gradient(135deg, #30cfd0 0%, #43e97b 100%);
    color: white;
}

.task-status-select {
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.task-status-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.task-status-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Mobil Uyumluluk İyileştirmeleri */
@media (max-width: 768px) {
    /* Sidebar mobilde gizli */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 250px;
        min-width: 250px;
        max-width: 250px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Menu toggle göster */
    .menu-toggle {
        display: block !important;
    }
    
    /* Main content tam genişlik */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        min-width: 0;
    }
    
    /* Header responsive */
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 18px;
    }
    
    .header-right {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Search dropdown mobilde tam genişlik */
    .search-dropdown {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .search-results {
        width: 100%;
        max-width: 100%;
    }
    
    /* User menu mobilde */
    .user-menu {
        width: 100%;
    }
    
    .user-dropdown {
        width: 100%;
        right: 0;
    }
    
    /* Cards responsive */
    .card {
        padding: 15px;
    }
    
    /* Tables responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Form groups */
    .form-group {
        margin-bottom: 15px;
    }
    
    /* Buttons */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    /* Task meta */
    .task-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    
    .task-actions-right {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .task-status-badge {
        margin-left: 0 !important;
        margin-top: 10px;
    }
    
    /* Tab navigation */
    .tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-item {
        flex: 1;
        min-width: calc(50% - 5px);
        font-size: 12px;
        padding: 8px 10px;
    }
    
    /* File cards */
    .file-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Modern Calendar Styles */
.calendar-container {
    padding: 20px 0;
}

.calendar-container .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.calendar-container .col-md-8,
.calendar-container .col-md-4 {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .calendar-container .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .calendar-container .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.calendar-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.calendar-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-title i {
    font-size: 28px;
    opacity: 0.9;
}

.calendar-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.calendar-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.calendar-nav-today {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.calendar-body {
    padding: 20px;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 12px 8px;
    min-height: 100px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.calendar-day-empty {
    background: #f8f9fa;
    cursor: default;
    opacity: 0.5;
}

.calendar-day-empty:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.calendar-day-today {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.calendar-day-today .calendar-day-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.calendar-day-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.calendar-day-reminders {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-reminder-badge {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.calendar-reminder-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(245, 87, 108, 0.4);
}

.calendar-reminder-badge.completed {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    opacity: 0.8;
}

.calendar-reminder-badge i {
    font-size: 9px;
}

.calendar-reminder-badge span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.calendar-reminder-more {
    font-size: 10px;
    color: var(--text-secondary);
    text-align: center;
    padding: 2px;
    font-weight: 600;
}

/* Reminders Sidebar */
.reminders-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reminders-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.reminders-card-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reminders-card-header i {
    font-size: 20px;
}

.reminders-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.reminders-card-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.reminders-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.reminders-empty i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.reminders-empty p {
    margin: 0;
    font-size: 14px;
}

.reminder-item-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid transparent;
}

.reminder-item-card:hover {
    background: var(--bg-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #667eea;
}

.reminder-item-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.reminder-item-content {
    flex: 1;
    min-width: 0;
}

.reminder-item-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.reminder-item-project {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reminder-item-project i {
    font-size: 10px;
}

.reminder-item-date {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.reminder-item-date i {
    font-size: 10px;
}

.reminder-item-check {
    color: #43e97b;
    font-size: 20px;
    flex-shrink: 0;
}

.reminder-form .modern-input {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.reminder-form .modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.modern-btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Date Selection Modal */
#dateSelectionModal {
    animation: fadeIn 0.2s ease-out;
}

#dateSelectionModal .modal-content {
    position: relative;
    z-index: 1001;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: var(--bg-primary);
    padding: 0;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#dateSelectionModal .modal-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

#dateSelectionModal .modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

#dateSelectionModal .modal-body {
    padding: 16px 20px;
}

.date-selection-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.date-option-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    width: 100%;
}

.date-option-btn:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.15);
}

.date-option-btn:active {
    transform: translateX(2px);
}

.date-option-btn i {
    font-size: 16px;
    color: #4facfe;
    width: 20px;
    text-align: center;
}

.date-option-btn:last-child {
    background: var(--bg-secondary);
}

.date-option-btn:last-child:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.date-option-btn:last-child i {
    color: #667eea;
}

.date-option-btn span {
    flex: 1;
}

.reminder-item-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Projects Page - Modern Design */
.projects-stats {
    margin-bottom: 30px;
}

.projects-stats .row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.projects-stats .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
}

@media (max-width: 768px) {
    .projects-stats .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .projects-stats .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

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

.stat-card-primary {
    border-left-color: #667eea;
}

.stat-card-info {
    border-left-color: #4facfe;
}

.stat-card-success {
    border-left-color: #43e97b;
}

.stat-card-warning {
    border-left-color: #f093fb;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-card-primary .stat-card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-info .stat-card-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card-success .stat-card-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card-warning .stat-card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card-content {
    flex: 1;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Projects Card */
.projects-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.projects-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.projects-header-left h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-header-left h2 i {
    color: #667eea;
}

.projects-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.btn-modern {
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Filters */
.projects-filters {
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    position: relative;
}

.projects-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.filters-form {
    margin: 0;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    position: relative;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group label i {
    color: #667eea;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.filter-input {
    font-family: inherit;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.filter-select:hover,
.filter-input:hover {
    border-color: rgba(102, 126, 234, 0.5);
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.btn-filter,
.btn-clear {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    text-decoration: none;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-filter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-filter:active {
    transform: translateY(0);
}

.btn-clear {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-clear:hover {
    background: var(--bg-secondary);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.btn-clear:active {
    transform: translateY(0);
}

/* Projects List */
.projects-list {
    padding: 30px;
}

.projects-empty {
    text-align: center;
    padding: 60px 20px;
}

.projects-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-empty-icon i {
    font-size: 48px;
    color: #667eea;
    opacity: 0.5;
}

.projects-empty h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.projects-empty p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.project-card.priority-critical::before {
    background: linear-gradient(90deg, #8B0000 0%, #A52A2A 100%);
}

.project-card.priority-urgent::before {
    background: linear-gradient(90deg, #DC143C 0%, #FF4500 100%);
}

.project-card.priority-standard::before {
    background: linear-gradient(90deg, #FF8C00 0%, #FFA500 100%);
}

.project-card.priority-critical {
    border-left: 4px solid #8B0000;
}

.project-card.priority-urgent {
    border-left: 4px solid #DC143C;
}

.project-card.priority-standard {
    border-left: 4px solid #FF8C00;
}

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

.project-card.priority-critical:hover {
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.3);
    border-color: rgba(139, 0, 0, 0.5);
}

.project-card.priority-urgent:hover {
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.3);
    border-color: rgba(220, 20, 60, 0.5);
}

.project-card.priority-standard:hover {
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.5);
}

.project-card-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.project-card-title-section {
    flex: 1;
}

.project-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.project-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-priority-critical {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.project-priority-urgent {
    background: linear-gradient(135deg, #DC143C 0%, #FF4500 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.project-priority-standard {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

/* Proje Durum Renkleri - Her durum için farklı renk */
.project-status-planning {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    color: #ffffff;
    border: 1px solid #1976D2;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.project-status-started {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: #ffffff;
    border: 1px solid #F57C00;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.project-status-in-progress {
    background: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%);
    color: #ffffff;
    border: 1px solid #E65100;
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.3);
}

.project-status-on-hold {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: #ffffff;
    border: 1px solid #7B1FA2;
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.3);
}

.project-status-completed {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: #ffffff;
    border: 1px solid #388E3C;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.project-status-cancelled {
    background: linear-gradient(135deg, #F44336 0%, #E57373 100%);
    color: #ffffff;
    border: 1px solid #D32F2F;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.project-card-menu {
    position: relative;
}

.project-menu-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.project-menu-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.project-menu-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.project-menu-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.project-menu-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-menu-dropdown a:hover {
    background: var(--bg-secondary);
    color: #667eea;
}

.project-card-body {
    padding: 20px;
    flex: 1;
}

.project-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.project-info-item i {
    color: #667eea;
    width: 16px;
}

.project-progress-section {
    margin-bottom: 15px;
}

.project-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.project-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-progress-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.project-progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.project-meta-item i {
    color: var(--text-secondary);
    font-size: 11px;
}

.project-card-footer {
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.btn-project-detail {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-project-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Projects Responsive */
@media (max-width: 768px) {
    .projects-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .projects-filters {
        padding: 20px;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-filter,
    .btn-clear {
        width: 100%;
        min-width: auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-stats .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Dashboard Improvements */
.dashboard-stats {
    margin-bottom: 30px;
}

.dashboard-stats .row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.dashboard-stats .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
}

@media (max-width: 768px) {
    .dashboard-stats .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .dashboard-stats .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.dashboard-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.dashboard-card-header-left h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card-header-left h3 i {
    color: #667eea;
}

.dashboard-card-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.project-summary-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-summary-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.project-summary-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    font-size: 18px;
}

.project-summary-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.summary-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.summary-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.message-empty,
.files-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.message-empty i,
.files-empty i {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.message-empty p,
.files-empty p {
    font-size: 16px;
    margin: 0;
}

.dashboard-card-body {
    padding: 25px 30px;
    flex: 1;
    overflow-y: auto;
}

/* Hızlı Erişim - Modern Tasarım */
.quick-access-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #667eea;
}

.quick-access-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.quick-access-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.quick-access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: var(--text-primary);
    border-color: rgba(102, 126, 234, 0.2);
}

.quick-access-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.quick-access-card:hover .quick-access-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.quick-access-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.quick-access-primary .quick-access-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-access-info .quick-access-icon-wrapper {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.quick-access-success .quick-access-icon-wrapper {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.quick-access-warning .quick-access-icon-wrapper {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.quick-access-card:hover .quick-access-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.quick-access-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1;
}

.quick-access-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-access-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.quick-access-arrow {
    font-size: 18px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .quick-access-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-access-card {
        padding: 20px;
    }
    
    .quick-access-icon-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
    }
    
    .quick-access-title {
        font-size: 15px;
    }
    
    .quick-access-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .quick-access-grid-modern {
        grid-template-columns: 1fr;
    }
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    min-height: 300px;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container canvas {
    max-height: 100%;
    max-width: 100%;
}

.chart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: var(--text-secondary);
    font-size: 14px;
}

.dashboard-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.dashboard-empty i {
    font-size: 48px;
    color: var(--text-secondary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.dashboard-empty p {
    margin-bottom: 20px;
    font-size: 14px;
}

/* Admin Dashboard Specific Styles */
.admin-dashboard-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-bottom-section {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Stats Grid - Optimized */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Charts Grid */
.dashboard-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-charts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Activities List */
.activities-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.activities-list::-webkit-scrollbar {
    width: 6px;
}

.activities-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.activities-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.activities-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: var(--bg-secondary);
    border-left: 3px solid #667eea;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.activity-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(4px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.activity-content {
    flex: 1;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.activity-header strong {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.activity-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.activity-project {
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 4px;
    font-weight: 500;
}

.activity-description {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Dashboard Table */
.dashboard-table-container {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dashboard-table thead {
    background: var(--bg-secondary);
}

.dashboard-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-table td {
    padding: 18px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.dashboard-table tbody tr {
    transition: all 0.2s ease;
}

.dashboard-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

.dashboard-table tbody tr.priority-critical {
    border-left: 4px solid #8B0000;
}

.dashboard-table tbody tr.priority-urgent {
    border-left: 4px solid #DC143C;
}

.dashboard-table tbody tr.priority-standard {
    border-left: 4px solid #FF8C00;
}

.dashboard-table tbody tr.priority-critical:hover {
    background: rgba(139, 0, 0, 0.05);
}

.dashboard-table tbody tr.priority-urgent:hover {
    background: rgba(220, 20, 60, 0.05);
}

.dashboard-table tbody tr.priority-standard:hover {
    background: rgba(255, 140, 0, 0.05);
}

.table-project-name,
.table-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.table-project-name i,
.table-customer i {
    color: #667eea;
    font-size: 14px;
}

/* Table User Info */
.table-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.table-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.table-user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.table-email {
    color: var(--text-secondary);
    font-size: 13px;
}

.table-username {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
}

.table-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.table-date i {
    color: #667eea;
    font-size: 12px;
}

.table-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.table-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.table-progress-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: right;
}

.btn-table-action {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-table-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Customer Form Modern Design */
.customer-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.customer-form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.customer-form-header-left h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-form-header-left h2 i {
    color: #667eea;
}

.customer-form-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.btn-back {
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.customer-form-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.alert-modern {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.alert-modern.success {
    background: rgba(67, 233, 123, 0.1);
    border-left-color: #43e97b;
    color: #2e7d32;
}

.alert-modern.error {
    background: rgba(245, 87, 108, 0.1);
    border-left-color: #f5576c;
    color: #c62828;
}

.modern-form {
    margin: 0;
}

.form-section {
    margin-bottom: 35px;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #667eea;
}

.form-row {
    margin-bottom: 25px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group-modern {
    width: 100%;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.form-label-modern i {
    color: #667eea;
    font-size: 13px;
}

.form-label-modern .required {
    color: #f5576c;
}

.form-input-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input-modern::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

select.form-input-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.form-input-modern option {
    padding: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input-modern {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.btn-submit-modern {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-cancel-modern {
    padding: 14px 24px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-cancel-modern:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-card-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .dashboard-stats .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .dashboard-table-container {
        overflow-x: auto;
    }
    
    .customer-form-card {
        padding: 25px;
    }
    
    .customer-form-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit-modern,
    .btn-cancel-modern {
        width: 100%;
    }
}

/* Project Detail Page */
.project-detail-container {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.project-detail-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.project-detail-header-left h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-detail-header-left h2 i {
    color: #667eea;
}

.project-detail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.project-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.project-meta-badge i {
    color: #667eea;
}

.project-detail-content {
    padding: 30px;
}

.project-detail-info {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.project-info-row {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.project-info-item {
    flex: 1;
    min-width: 200px;
}

.project-info-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info-item label i {
    color: #667eea;
    font-size: 12px;
}

.status-form {
    margin: 0;
}

.status-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.status-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.project-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-progress-bar {
    flex: 1;
    height: 10px;
    background: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
}

.project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.project-progress-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 45px;
    text-align: right;
}

.btn-transfer {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-transfer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* Project Detail Card Bodies */
.project-detail-content .card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-detail-content .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-detail-content .card-body {
    padding: 25px;
}

.project-detail-content .card-body h5 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-detail-content .card-body h5 i {
    font-size: 18px;
}

/* Project Detail Info Modern */
.project-detail-info-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.project-info-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.project-info-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.project-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.project-info-icon.progress-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-info-icon.priority-icon {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
}

.project-info-icon.transfer-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.priority-form-modern {
    margin: 0;
}

.priority-select-modern {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF8C00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.priority-select-modern:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.project-info-content {
    flex: 1;
}

.project-info-content label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.status-form-modern {
    margin: 0;
}

.status-select-modern {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.status-select-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.project-progress-modern {
    width: 100%;
}

.project-progress-bar-modern {
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.project-progress-fill-modern {
    height: 100%;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.progress-percentage {
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-transfer-modern {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-transfer-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* Tab Header Modern */
.tab-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.tab-header-modern h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-header-modern h3 i {
    color: #667eea;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 64px;
    opacity: 0.2;
    margin-bottom: 20px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Messages Modern */
.messages-list-modern {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

.messages-list-modern::-webkit-scrollbar {
    width: 6px;
}

.messages-list-modern::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.messages-list-modern::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.message-item-modern {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.message-item-modern:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.message-sender strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 3px;
}

.message-sender small {
    color: var(--text-secondary);
    font-size: 12px;
}

.message-date {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
}

.message-content {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message-form-modern {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
}

.message-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.message-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    resize: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.message-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-send-message {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Notes Modern */
.note-form-modern {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.note-form-modern h5 {
    margin: 0 0 15px 0;
    color: #667eea;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.note-input-modern {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.note-input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-save-note {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-save-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.notes-list-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-card-modern {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.note-card-modern:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.note-avatar-modern {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.note-content-modern {
    flex: 1;
    min-width: 0;
}

.note-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.note-header-modern strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 5px;
}

.note-badge-you {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
}

.note-header-modern small {
    color: var(--text-secondary);
    font-size: 12px;
    display: block;
}

.note-actions-modern {
    display: flex;
    gap: 8px;
}

.btn-note-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-note-action:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.btn-note-delete:hover {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
}

.note-text-modern {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Files Modern */
.btn-upload-modern {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-upload-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.files-filter-modern {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-input-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-input-modern {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select-modern {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    min-width: 180px;
}

.filter-select-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-select-all {
    padding: 10px 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-select-all:hover {
    background: var(--bg-secondary);
    border-color: #667eea;
}

/* Activities Modern */
.activities-timeline-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item-modern {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 15px;
    transition: all 0.2s ease;
}

.activity-item-modern:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}

.activity-icon-modern {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.activity-content-modern {
    flex: 1;
}

.activity-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.activity-header-modern strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.activity-user {
    color: var(--text-secondary);
    font-size: 13px;
    margin-left: 8px;
}

.activity-time {
    color: var(--text-secondary);
    font-size: 12px;
    white-space: nowrap;
}

.activity-description-modern {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.activity-date {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Project Detail Responsive */
@media (max-width: 768px) {
    .project-detail-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .project-detail-info-modern {
        grid-template-columns: 1fr;
    }
    
    .tab-header-modern {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-input-group,
    .filter-select-modern,
    .btn-select-all {
        width: 100%;
    }
    
    .message-input-wrapper {
        flex-direction: column;
    }
    
    .btn-send-message {
        width: 100%;
    }
}

/* Calendar Right Panel */
.calendar-right-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
}

.calendar-right-panel .reminders-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.calendar-right-panel .reminders-card-body {
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

#dynamicContentArea {
    min-height: 400px;
    max-height: calc(100vh - 400px);
}

#dynamicContentArea .reminders-card-body {
    max-height: none;
}
    
    /* Calendar Responsive */
    @media (max-width: 768px) {
        .calendar-header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }
        
        .calendar-nav {
            width: 100%;
            justify-content: center;
        }
        
        .calendar-day {
            min-height: 80px;
            padding: 8px 5px;
        }
        
        .calendar-day-number {
            font-size: 14px;
        }
        
        .calendar-reminder-badge {
            font-size: 10px;
            padding: 3px 6px;
        }
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10px auto;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Reminder Modal - Ortada Açılacak */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
    padding: 50px 20px 20px 20px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}

.modal[style*="display: flex"] {
    display: flex !important;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: calc(100% - 40px);
    max-height: calc(100vh - 100px);
    overflow: hidden;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 1001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-header .close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.modal-header .close:hover {
    opacity: 1;
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-modern {
    max-width: 800px !important;
    width: 90% !important;
}

.modal-form {
    padding: 30px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-form::-webkit-scrollbar {
    width: 6px;
}

.modal-form::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.modal-form::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.modal-form::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.modal-form .form-group-modern {
    margin-bottom: 20px;
}

.modal-form .form-group-modern:last-child {
    margin-bottom: 0;
}

/* İki Sütunlu Form */
.modal-form-two-column {
    padding: 30px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-two:last-of-type {
    margin-bottom: 0;
}

.form-row-two .form-group-modern {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .modal-modern {
        max-width: 95% !important;
        width: 95% !important;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-form {
        padding: 20px;
    }
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    justify-content: flex-end;
}

.modal-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.modal-active {
    display: flex !important;
}

.modal-active .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* Modal'ların varsayılan olarak gizli olmasını garanti et */
#editUserModal,
#createUserModal {
    display: none !important;
}

#editUserModal.modal-active,
#createUserModal.modal-active {
    display: flex !important;
}

.modal-body {
    padding: 25px;
}

/* Admin Users Content */
.admin-users-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Reminder Modal Özel */
#reminderModal .modal-content {
    max-width: 550px;
}

#reminderModal .modal-body {
    padding: 25px;
}

#addReminderModal .modal-content {
    max-width: 550px;
}
    
    /* Dashboard cards */
    .row .col-md-3,
    .row .col-md-4,
    .row .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Activity items */
    .activity-item {
        padding: 10px !important;
    }
    
    .activity-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar */
    .header h1 {
        font-size: 16px;
    }
    
    .card-header h2,
    .card-header h3 {
        font-size: 18px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .tab-item {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}

.copy-btn {
    transition: all 0.2s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.setup-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setup-field-value {
    margin-top: 8px;
}

.array-value {
    max-height: 300px;
    overflow-y: auto;
}

/* Tab System */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tab-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.tab-item.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.tab-item.active:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.tab-item i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.tab-item.active i {
    transform: scale(1.1);
}

.tab-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.tab-header-modern h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-header-modern h3 i {
    color: #667eea;
    font-size: 20px;
}

/* Customer Project Page - Modern Design */
.customer-project-container {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.customer-project-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.customer-project-header-left h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-project-header-left h2 i {
    font-size: 24px;
    opacity: 0.9;
}

.customer-project-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.customer-project-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.customer-project-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* Müşteri sayfaları için proje durum renkleri */
.customer-project-status-planning {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9) 0%, rgba(66, 165, 245, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(25, 118, 210, 0.5);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.customer-project-status-started {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9) 0%, rgba(255, 183, 77, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(245, 124, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.customer-project-status-in-progress {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.9) 0%, rgba(255, 143, 0, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(230, 81, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.4);
}

.customer-project-status-on-hold {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.9) 0%, rgba(186, 104, 200, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(186, 104, 200, 0.5);
}

.customer-project-status-completed {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(129, 199, 132, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(129, 199, 132, 0.5);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.customer-project-status-cancelled {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9) 0%, rgba(239, 83, 80, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(239, 83, 80, 0.5);
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.customer-project-header-right {
    flex: 1;
    min-width: 300px;
}

.customer-project-progress-wrapper {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.customer-project-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.customer-progress-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.customer-progress-value {
    font-size: 24px;
    font-weight: 700;
}

.customer-project-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.customer-project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.customer-project-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.customer-progress-percentage {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.customer-project-content {
    padding: 30px;
}

.customer-alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.customer-alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-left-color: #ffc107;
    color: #856404;
}

.customer-alert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
}

.customer-alert-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.customer-alert-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.customer-tasks-pending {
    margin-bottom: 40px;
}

.customer-tasks-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.customer-tasks-empty i {
    font-size: 72px;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.customer-tasks-empty p {
    font-size: 18px;
    margin: 0;
}

.customer-tasks-section {
    margin-top: 30px;
}

.customer-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-section-title i {
    color: #667eea;
}

.customer-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.customer-task-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.customer-task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.customer-task-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.customer-task-card:hover::before {
    transform: scaleX(1);
}

.customer-task-card-pending {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
}

.customer-task-card-pending::before {
    background: linear-gradient(90deg, #ffc107 0%, #ff9800 100%);
}

.customer-task-card-completed {
    border-left: 4px solid #43e97b;
    opacity: 0.8;
}

.customer-task-card-completed::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.customer-task-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.customer-task-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.customer-task-card-pending .customer-task-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.customer-task-card-completed .customer-task-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.customer-task-title-section {
    flex: 1;
    min-width: 0;
}

.customer-task-title-section h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.customer-task-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.customer-task-status-badge,
.customer-task-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customer-task-status-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.customer-task-status-completed {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.customer-task-badge-pending {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
}

.customer-task-badge-approved {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.customer-task-badge-rejected {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
}

.customer-task-badge-no-approval {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.customer-task-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.customer-task-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-customer-task {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-customer-task-approve {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.btn-customer-task-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.btn-customer-task-reject {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
}

.btn-customer-task-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.customer-task-approval-info,
.customer-task-rejection-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.customer-task-approval-info {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    border-left: 3px solid #43e97b;
}

.customer-task-rejection-info {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border-left: 3px solid #f5576c;
}

.customer-task-approval-info i,
.customer-task-rejection-info i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-task-approval-info i {
    color: #43e97b;
}

.customer-task-rejection-info i {
    color: #f5576c;
}

.customer-task-approval-info strong,
.customer-task-rejection-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-size: 13px;
}

.customer-task-approval-info p,
.customer-task-rejection-info p {
    margin: 0 0 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.customer-task-approval-info small,
.customer-task-rejection-info small {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Customer Modals */
.customer-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.customer-modal-overlay.show {
    opacity: 1;
}

.customer-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.customer-modal-overlay.show .customer-modal-content {
    transform: scale(1);
}

.customer-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.customer-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-modal-header h3 i {
    color: #667eea;
}

.customer-modal-close {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.customer-modal-close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

.customer-modal-form {
    padding: 30px;
}

.customer-form-group-modern {
    margin-bottom: 25px;
}

.customer-form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.customer-form-label-modern i {
    color: #667eea;
}

.customer-form-label-modern .required {
    color: var(--danger-color);
}

.customer-form-textarea-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.customer-form-textarea-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.customer-form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.customer-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-customer-modern {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-customer-success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.btn-customer-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

.btn-customer-danger {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
}

.btn-customer-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.btn-customer-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-customer-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

/* Customer Messages - Modern Design */
.customer-messages-container {
    background: #e5ddd5;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding: 0;
}

.customer-messages-container::-webkit-scrollbar {
    width: 6px;
}

.customer-messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.customer-messages-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.customer-messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.customer-messages-container .customer-messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    min-height: 0;
    background: transparent;
}

.customer-messages-container .customer-message-form-wrapper-full {
    border-top: 1px solid #d4d4d4;
    border-radius: 0;
    margin-top: auto;
    padding: 10px 16px;
}

.customer-messages-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 16px;
    min-height: 100%;
    background: #e5ddd5;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

/* Customer Messages Container (for project.php tab) */
.customer-messages-container {
    background: #e5ddd5;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.customer-messages-container .customer-messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    min-height: 0;
}

.customer-messages-container .customer-message-form-wrapper-full {
    border-top: 1px solid #d4d4d4;
    border-radius: 0;
    margin-top: auto;
}

.customer-message-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.customer-empty-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-empty-icon-wrapper i {
    font-size: 56px;
    color: #667eea;
    opacity: 0.5;
}

.customer-message-empty h4,
.customer-notes-empty h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.customer-message-empty p,
.customer-notes-empty p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* WhatsApp Style Messages */
.whatsapp-message {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 2px;
    animation: messageFadeIn 0.2s ease;
    max-width: 75%;
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whatsapp-sent {
    flex-direction: row-reverse;
    margin-left: auto;
}

.whatsapp-received {
    flex-direction: row;
    margin-right: auto;
}

.whatsapp-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.whatsapp-bubble {
    padding: 8px 12px;
    border-radius: 7.5px;
    position: relative;
    max-width: 100%;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-sent .whatsapp-bubble {
    background: #DCF8C6;
    border-bottom-right-radius: 2px;
}

.whatsapp-received .whatsapp-bubble {
    background: #FFFFFF;
    border-bottom-left-radius: 2px;
}

.whatsapp-text {
    font-size: 14.2px;
    line-height: 19px;
    color: #303030;
    margin-bottom: 4px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.whatsapp-sent .whatsapp-text {
    color: #303030;
}

.whatsapp-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 11px;
    color: #667781;
    margin-top: 2px;
    line-height: 1;
}

.whatsapp-check {
    color: #4FC3F7;
    font-size: 10px;
}

.whatsapp-check.read {
    color: #53BDEB;
}

.customer-message-sent .customer-message-text {
    color: rgba(255, 255, 255, 0.95);
}

.customer-message-count,
.customer-notes-count {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
}

.customer-message-form-wrapper {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
}

.customer-message-form {
    margin: 0;
}

.customer-message-input-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.customer-message-input {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #303030;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    transition: none;
    min-height: 42px;
    max-height: 120px;
    line-height: 20px;
}

.customer-message-input::placeholder {
    color: #999999;
    opacity: 1;
    font-size: 15px;
}

.customer-message-input:focus {
    outline: none;
}

.customer-btn-send-message {
    padding: 0;
    background: transparent;
    color: #25D366;
    border: none;
    border-radius: 50%;
    font-weight: normal;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    box-shadow: none;
    min-width: 42px;
    width: 42px;
    height: 42px;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.customer-btn-send-message:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: scale(1.05);
}

.customer-btn-send-message:active {
    transform: scale(0.95);
}

.customer-btn-send-message i {
    font-size: 20px;
    color: #25D366;
}

.customer-btn-send-message span {
    display: none;
}

/* Customer Notes - Modern Design */
.customer-notes-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.customer-notes-container {
    margin-top: 20px;
}

.customer-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.customer-note-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: noteFadeIn 0.4s ease;
}

@keyframes noteFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customer-note-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.customer-note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.customer-note-card:hover::before {
    transform: scaleX(1);
}

.customer-note-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.customer-note-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.customer-note-info {
    flex: 1;
    min-width: 0;
}

.customer-note-author {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-note-badge-you {
    padding: 2px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customer-note-date {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.customer-note-date i {
    font-size: 11px;
}

.customer-note-content {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.customer-note-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.customer-note-time-ago {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.customer-note-time-ago i {
    font-size: 11px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .customer-project-header {
        flex-direction: column;
    }
    
    .customer-project-header-right {
        width: 100%;
    }
    
    .customer-tasks-grid,
    .customer-notes-grid {
        grid-template-columns: 1fr;
    }
    
    .customer-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .customer-modal-actions {
        flex-direction: column;
    }
    
    .btn-customer-modern {
        width: 100%;
    }
    
    .customer-message-bubble {
        max-width: 85%;
    }
    
    .customer-message-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .customer-btn-send-message {
        width: 100%;
        justify-content: center;
    }
}

/* Customer Messages Page - Full Page Design */
.customer-messages-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 600px;
}

.customer-messages-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    color: white;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.customer-messages-header-left h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-messages-header-left h1 i {
    font-size: 28px;
    opacity: 0.9;
}

.customer-messages-header-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.customer-messages-project-info,
.customer-messages-manager-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.customer-messages-header-right {
    display: flex;
    align-items: center;
}

.customer-messages-stats {
    display: flex;
    gap: 20px;
}

.customer-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.customer-stat-item-warning {
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid rgba(245, 158, 11, 0.4);
}

.customer-stat-item-warning i {
    color: #f59e0b;
}

.customer-stat-item i {
    font-size: 24px;
    opacity: 0.9;
}

.customer-stat-item div {
    display: flex;
    flex-direction: column;
}

.customer-stat-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.customer-stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.customer-messages-container-full {
    flex: 1;
    background: #e5ddd5;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.customer-messages-container-full::-webkit-scrollbar {
    width: 6px;
}

.customer-messages-container-full::-webkit-scrollbar-track {
    background: transparent;
}

.customer-messages-container-full::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.customer-messages-container-full::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.customer-messages-container-full .customer-messages-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.customer-messages-container-full::-webkit-scrollbar {
    width: 8px;
}

.customer-messages-container-full::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.customer-messages-container-full::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.customer-messages-container-full::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.customer-message-form-wrapper-full {
    background: #f0f0f0;
    padding: 10px 16px;
    border-top: 1px solid #d4d4d4;
    box-shadow: none;
}

.customer-message-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    background: #FFFFFF;
    padding: 8px 12px;
    border-radius: 21px;
    border: none;
    transition: all 0.2s ease;
}

.customer-message-input-wrapper:focus-within {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.customer-message-input-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.customer-message-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
}

.customer-message-sent .customer-message-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.customer-message-time-ago {
    font-size: 11px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

.customer-message-time-ago i {
    font-size: 10px;
}

/* Responsive Messages Page */
@media (max-width: 768px) {
    .customer-messages-page {
        height: auto;
        min-height: auto;
    }
    
    .customer-messages-header {
        flex-direction: column;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    
    .customer-messages-header-left h1 {
        font-size: 24px;
    }
    
    .customer-messages-header-info {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .customer-messages-project-info,
    .customer-messages-manager-info {
        width: 100%;
    }
    
    .customer-messages-stats {
        width: 100%;
    }
    
    .customer-stat-item {
        flex: 1;
        justify-content: center;
    }
    
    .customer-messages-container-full {
        padding: 0;
        min-height: 400px;
    }
    
    .customer-messages-list {
        padding: 15px 12px;
        gap: 4px;
    }
    
    .whatsapp-message {
        max-width: 85%;
    }
    
    .whatsapp-bubble {
        padding: 7px 11px;
    }
    
    .whatsapp-text {
        font-size: 14px;
    }
    
    .whatsapp-avatar {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }
    
    .customer-message-input-wrapper {
        padding: 6px 10px;
    }
    
    .customer-message-input {
        font-size: 14px;
        min-height: 38px;
    }
    
    .customer-btn-send-message {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .customer-btn-send-message i {
        font-size: 18px;
    }
    
    .customer-message-form-wrapper-full {
        padding: 20px;
    }
    
    .customer-message-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .customer-btn-send-message {
        width: 100%;
        height: 70px;
        min-width: auto;
        padding: 18px 24px;
    }
    
    .customer-message-input {
        min-height: 120px;
        font-size: 15px;
        padding: 18px 20px;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Customer Files Page */
.customer-files-page {
    padding: 0;
}

.customer-files-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.customer-files-header-left h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-files-header-left h1 i {
    font-size: 28px;
    opacity: 0.9;
}

.customer-files-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.customer-files-header-right {
    display: flex;
    align-items: center;
}

.customer-files-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-primary);
    border-radius: 0 0 16px 16px;
}

.customer-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 0 0 16px 16px;
}

.customer-file-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-color);
    animation: fadeIn 0.5s ease-out;
}

.customer-file-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.customer-file-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.customer-file-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.customer-file-info {
    flex: 1;
    min-width: 0;
}

.customer-file-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.customer-file-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}

.customer-file-category i {
    font-size: 10px;
}

.customer-file-card-body {
    flex: 1;
    margin-bottom: 15px;
}

.customer-file-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.customer-file-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.customer-file-meta-item i {
    width: 16px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.customer-file-card-footer {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.btn-customer-modern.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Customer Sample Files Section */
.customer-sample-files-section {
    margin-bottom: 30px;
}

.customer-sample-files-header {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
    color: white;
}

.customer-sample-files-header h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-sample-files-header h3 i {
    font-size: 20px;
    opacity: 0.9;
}

.customer-sample-files-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.customer-sample-file-card {
    border: 2px solid #43e97b;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.customer-sample-file-card:hover {
    border-color: #43e97b;
    box-shadow: 0 8px 30px rgba(67, 233, 123, 0.2);
}

.customer-sample-file-badge {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.2) 100%);
    color: #2d8659;
}

.customer-sample-file-description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.08) 0%, rgba(56, 249, 215, 0.08) 100%);
    border-radius: 10px;
    border-left: 3px solid #43e97b;
}

.customer-sample-file-description i {
    color: #43e97b;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.customer-sample-file-description p {
    margin: 0;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Customer Project Files Section */
.customer-project-files-section {
    margin-top: 30px;
}

.customer-project-files-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
    color: white;
}

.customer-project-files-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-project-files-header h3 i {
    font-size: 20px;
    opacity: 0.9;
}

/* Customer Upload Page */
.customer-upload-page {
    padding: 0;
}

.customer-upload-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 16px 16px 0 0;
    color: white;
    margin-bottom: 0;
}

.customer-upload-header h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-upload-header h1 i {
    font-size: 28px;
    opacity: 0.9;
}

.customer-upload-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.customer-upload-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.customer-upload-form {
    max-width: 600px;
}

.customer-form-input-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.customer-form-input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: var(--bg-primary);
}

.customer-file-upload-wrapper {
    position: relative;
}

.customer-file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.customer-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.customer-file-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
}

.customer-file-label i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
    opacity: 0.7;
}

.customer-file-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.customer-file-name {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
    word-break: break-word;
    display: none;
}

.customer-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-customer-modern {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-customer-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-customer-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-customer-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-customer-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-color: #667eea;
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .customer-files-header,
    .customer-upload-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .customer-files-header-right {
        width: 100%;
    }
    
    .customer-files-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .customer-upload-card {
        padding: 20px;
    }
    
    .customer-form-actions {
        flex-direction: column;
    }
    
    .btn-customer-modern {
        width: 100%;
    }
}

/* Profile Page Styles */
.profile-photo-section {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.profile-photo-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-photo-preview {
    width: 150px;
    height: 150px;
    min-width: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 60px;
}

.profile-photo-form {
    flex: 1;
    min-width: 200px;
}

.profile-photo-upload {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.profile-photo-upload label {
    margin: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .profile-photo-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-photo-form {
        width: 100%;
    }
    
    .profile-photo-upload {
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Projects Tabs */
.projects-tabs {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    background: var(--bg-primary);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-button {
    flex: 1;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-button:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.tab-button.active {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tab-button i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .tab-button i {
        font-size: 14px;
    }
}
