/* Riskoloji Başvuru Modülü - Ana Stiller */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --sidebar-primary: #667eea;
    --sidebar-primary-hover: #5a67d8;
    --sidebar-secondary: #764ba2;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --sidebar-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --sidebar-hover: rgba(255, 255, 255, 0.1);
    --hero-overlay: rgba(0, 0, 0, 0.6);
    --border-color: #e2e8f0;
    --text-muted: #94a3b8;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --card-hover-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    
    /* New Dashboard Colors */
    --basvuru-blue: #2563eb;
    --basvuru-emerald: #10b981;
    --basvuru-amber: #f59e0b;
    --basvuru-indigo: #6366f1;
    --basvuru-rose: #f43f5e;
    --basvuru-slate-50: #f8fafc;
    --basvuru-slate-100: #f1f5f9;
    --basvuru-slate-200: #e2e8f0;
    --basvuru-slate-400: #94a3b8;
    --basvuru-slate-500: #64748b;
    --basvuru-slate-600: #475569;
    --basvuru-slate-800: #1e293b;
    --basvuru-slate-900: #0f172a;
}

/* ============================================
   BASVURU DASHBOARD - MODERN DESIGN
   ============================================ */

/* Page Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease-out; }
.fade-in-delay-1 { animation: fadeInUp 0.5s ease-out 0.1s both; }
.fade-in-delay-2 { animation: fadeInUp 0.5s ease-out 0.2s both; }

/* Background color to match main dashboard */
.content-wrapper:has(.basvuru-page-content) {
    background: var(--basvuru-slate-100);
}

/* Apply consistent background to basvuru module pages */
.basvuru-page-content {
    min-height: calc(100vh - 60px);
}

/* Primary Button */
.basvuru-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--basvuru-blue);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.basvuru-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    color: white;
    text-decoration: none;
}

.basvuru-btn-primary:active {
    transform: scale(0.95);
}

.basvuru-btn-primary i {
    font-size: 1.125rem;
}

/* Statistics Section */
.basvuru-stats-section {
    margin-bottom: 2rem;
}

.basvuru-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .basvuru-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Stat Card */
.basvuru-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.basvuru-stat-blue { border-left-color: var(--basvuru-blue); }
.basvuru-stat-emerald { border-left-color: var(--basvuru-emerald); }
.basvuru-stat-amber { border-left-color: var(--basvuru-amber); }
.basvuru-stat-indigo { border-left-color: var(--basvuru-indigo); }

.basvuru-stat-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.basvuru-stat-info {
    flex: 1;
}

.basvuru-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--basvuru-slate-800);
    margin: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .basvuru-stat-value {
        font-size: 2.25rem;
    }
}

.basvuru-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--basvuru-slate-500);
    margin: 0.5rem 0 0 0;
}

.basvuru-stat-icon {
    font-size: 2.5rem;
    opacity: 0.2;
}

.basvuru-stat-blue .basvuru-stat-icon { color: var(--basvuru-blue); }
.basvuru-stat-emerald .basvuru-stat-icon { color: var(--basvuru-emerald); }
.basvuru-stat-amber .basvuru-stat-icon { color: var(--basvuru-amber); }
.basvuru-stat-indigo .basvuru-stat-icon { color: var(--basvuru-indigo); }

/* Table Section */
.basvuru-table-section {
    margin-bottom: 2rem;
}

.basvuru-table-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--basvuru-slate-200);
    overflow: hidden;
}

.basvuru-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--basvuru-slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basvuru-table-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--basvuru-slate-800);
    margin: 0;
}

.basvuru-table-actions {
    display: flex;
    gap: 0.5rem;
}

.basvuru-icon-btn {
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--basvuru-slate-400);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.basvuru-icon-btn:hover {
    color: var(--basvuru-blue);
    background: var(--basvuru-slate-50);
}

.basvuru-icon-btn i {
    font-size: 1.25rem;
}

/* Table Wrapper for horizontal scroll */
.basvuru-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.basvuru-table-wrapper::-webkit-scrollbar {
    display: none;
}

.basvuru-table-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Table Styles */
.basvuru-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.basvuru-table thead tr {
    background: var(--basvuru-slate-50);
}

.basvuru-table th {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--basvuru-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.basvuru-table td {
    padding: 1rem 1.5rem;
    white-space: nowrap;
}

.basvuru-table tbody tr {
    border-bottom: 1px solid var(--basvuru-slate-100);
    transition: background-color 0.2s ease;
}

.basvuru-table tbody tr:hover {
    background: var(--basvuru-slate-50);
}

.basvuru-table tbody tr:last-child {
    border-bottom: none;
}

.basvuru-row-muted {
    opacity: 0.7;
}

/* Application Number */
.basvuru-app-number {
    font-weight: 700;
    color: var(--basvuru-slate-800);
}

/* Date Cell */
.basvuru-date-cell {
    display: flex;
    flex-direction: column;
}

.basvuru-date {
    font-size: 0.875rem;
    color: var(--basvuru-slate-600);
}

.basvuru-time {
    font-size: 0.625rem;
    color: var(--basvuru-slate-400);
}

/* Status Badges */
.basvuru-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.basvuru-badge-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
}

.basvuru-badge-indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    border-color: rgba(99, 102, 241, 0.2);
}

.basvuru-badge-blue {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.2);
}

.basvuru-badge-emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

.basvuru-badge-rose {
    background: rgba(244, 63, 94, 0.1);
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.2);
}

/* Progress Cell */
.basvuru-progress-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.basvuru-progress-bar {
    width: 8rem;
    height: 0.375rem;
    background: var(--basvuru-slate-200);
    border-radius: 9999px;
    overflow: hidden;
}

.basvuru-progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.basvuru-progress-primary {
    background: var(--basvuru-blue);
}

.basvuru-progress-success {
    background: var(--basvuru-emerald);
}

.basvuru-progress-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--basvuru-slate-500);
}

.basvuru-text-success {
    color: var(--basvuru-emerald);
}

/* Action Buttons */
.basvuru-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.basvuru-btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--basvuru-emerald);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.basvuru-btn-continue:hover {
    background: #059669;
    color: white;
    text-decoration: none;
}

.basvuru-btn-continue i {
    font-size: 0.875rem;
}

.basvuru-btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    background: transparent;
    color: var(--basvuru-slate-400);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.basvuru-btn-view:hover {
    background: var(--basvuru-slate-100);
    color: var(--basvuru-slate-600);
}

.basvuru-btn-view i {
    font-size: 1rem;
}

.basvuru-delete-form {
    display: inline;
    margin: 0;
}

.basvuru-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    background: transparent;
    color: var(--basvuru-rose);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.basvuru-btn-delete:hover {
    background: rgba(244, 63, 94, 0.1);
}

.basvuru-btn-delete i {
    font-size: 1rem;
}

/* Table Footer */
.basvuru-table-footer {
    padding: 1rem 1.5rem;
    background: rgba(248, 250, 252, 0.5);
    border-top: 1px solid var(--basvuru-slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basvuru-pagination-info {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--basvuru-slate-500);
}

.basvuru-pagination-buttons {
    display: flex;
    gap: 0.25rem;
}

.basvuru-pagination-btn {
    padding: 0.375rem;
    background: white;
    border: 1px solid var(--basvuru-slate-200);
    border-radius: 0.5rem;
    color: var(--basvuru-slate-400);
    cursor: pointer;
    transition: all 0.2s ease;
}

.basvuru-pagination-btn:hover:not(:disabled) {
    background: var(--basvuru-slate-50);
    color: var(--basvuru-slate-600);
}

.basvuru-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.basvuru-pagination-btn i {
    font-size: 0.875rem;
}

/* Empty State */
.basvuru-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.basvuru-empty-icon {
    font-size: 4rem;
    color: var(--basvuru-slate-200);
    margin-bottom: 1rem;
}

.basvuru-empty-text {
    color: var(--basvuru-slate-500);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Floating Action Button (Mobile) */
.basvuru-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--basvuru-blue);
    color: white;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    text-decoration: none;
    z-index: 40;
    transition: all 0.2s ease;
}

.basvuru-fab:hover {
    transform: scale(1.1);
    color: white;
}

.basvuru-fab:active {
    transform: scale(0.9);
}

.basvuru-fab i {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .basvuru-fab {
        display: none;
    }
}

/* Text alignment utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Mobile responsiveness for basvuru dashboard */
@media (max-width: 767px) {
    .basvuru-table th,
    .basvuru-table td {
        padding: 0.75rem 1rem;
    }
    
    .basvuru-progress-bar {
        width: 5rem;
    }
    
    .basvuru-progress-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .basvuru-btn-continue {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .basvuru-action-buttons {
        gap: 0.25rem;
    }
    
    .basvuru-table-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .basvuru-stat-value {
        font-size: 1.75rem;
    }
    
    .basvuru-stat-icon {
        font-size: 2rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 0;
}


/* Hero Section - Enhanced */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

/* Navigation - Enhanced */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo {
    height: 45px;
    width: auto;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin: 0;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navbar Button Styles */
.navbar-menu .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar-menu .btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
    transition: all 0.3s;
}

.navbar-menu .btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.navbar-menu .btn-secondary {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #475569;
    transition: all 0.3s;
}

.navbar-menu .btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

/* Sections */
.section {
    padding: 5rem 0;
    width: 100%;
    position: relative;
}

.section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Announcements */
.announcements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.announcement-header {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    padding: 1.5rem;
    color: white;
}

.announcement-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.announcement-date {
    font-size: 0.875rem;
    opacity: 0.9;
}

.announcement-content {
    padding: 1.5rem;
}

.announcement-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Login & Register Pages */
.auth-container {
    min-height: calc(100vh - 80px);
    padding: 0rem 2rem 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-top: -80px;
    padding-top: 80px;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    animation: slideInBottom 0.6s ease-out;
    margin: 2rem 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--sidebar-bg);
    overflow-y: auto;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    text-align: center;
}

.text-logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(135deg, var(--sidebar-primary) 0%, var(--sidebar-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle-text {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.user-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sidebar-primary), var(--sidebar-primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 0.5rem;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: white;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.25rem;
}

.user-company {
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
}

.nav-menu {
    padding: 1.5rem 0;
}

.nav-section {
    margin-bottom: 1rem;
}

.menu-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.sidebar .nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

/* Remove the underline animation from sidebar nav-links */
.sidebar .nav-menu .nav-link::after {
    display: none !important;
}

.sidebar .nav-menu .nav-link:hover {
    background: var(--sidebar-hover) !important;
    color: white !important;
}

/* Ensure no underline on hover for sidebar */
.sidebar .nav-menu .nav-link:hover::after {
    display: none !important;
}

.sidebar .nav-menu .nav-link.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2), transparent) !important;
    color: var(--sidebar-primary) !important;
    border-left: 3px solid var(--sidebar-primary) !important;
    font-weight: normal !important;
}

.sidebar .nav-menu .nav-link i {
    font-size: 1.25rem;
    width: 24px;
}

.sidebar .nav-menu .nav-badge {
    margin-left: auto;
    background: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    background: #f8fafc;
}

.content-wrapper {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.page-subtitle {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.stat-card.success::before {
    background: var(--success-color);
}

.stat-card.warning::before {
    background: var(--warning-color);
}

.stat-card.info::before {
    background: var(--info-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.stat-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #e5e7eb;
    opacity: 0.3;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: white;
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.form-text {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

/* Buttons - Enhanced */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.625rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

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

.btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

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

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Application Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 0;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-title {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

.step.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   BASVURU MODULE - PROGRESS STEPS COMPONENT
   ============================================ */

.basvuru-steps-container {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.basvuru-steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    gap: 0;
}

.basvuru-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.basvuru-step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--basvuru-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--basvuru-slate-400);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.basvuru-step.active .basvuru-step-circle {
    background: var(--basvuru-blue);
    border-color: var(--basvuru-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.basvuru-step.completed .basvuru-step-circle {
    background: var(--basvuru-emerald);
    border-color: var(--basvuru-emerald);
    color: white;
}

.basvuru-step-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--basvuru-slate-400);
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}

.basvuru-step.active .basvuru-step-title {
    color: var(--basvuru-blue);
    font-weight: 600;
}

.basvuru-step.completed .basvuru-step-title {
    color: var(--basvuru-emerald);
}

.basvuru-step-connector {
    width: 3rem;
    height: 2px;
    background: var(--basvuru-slate-200);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.basvuru-step-connector.completed {
    background: var(--basvuru-emerald);
}

@media (min-width: 768px) {
    .basvuru-step-connector {
        width: 4rem;
    }
    
    .basvuru-step-title {
        font-size: 0.8rem;
        max-width: 100px;
    }
    
    .basvuru-step-circle {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* ============================================
   BASVURU MODULE - CARD COMPONENT
   ============================================ */

.basvuru-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.basvuru-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--basvuru-slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--basvuru-slate-50);
}

.basvuru-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--basvuru-slate-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.basvuru-card-title i {
    color: var(--basvuru-blue);
}

.basvuru-card-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--basvuru-blue);
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.basvuru-card-edit:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-hover);
}

.basvuru-card-body {
    padding: 1.5rem;
}

/* ============================================
   BASVURU MODULE - FORM STYLES
   ============================================ */

.basvuru-form-group {
    margin-bottom: 1.5rem;
}

.basvuru-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--basvuru-slate-600);
}

.basvuru-form-label.required::after {
    content: ' *';
    color: var(--basvuru-rose);
}

.basvuru-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--basvuru-slate-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: white;
}

.basvuru-form-control:focus {
    outline: none;
    border-color: var(--basvuru-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.basvuru-form-text {
    font-size: 0.8rem;
    color: var(--basvuru-slate-400);
    margin-top: 0.375rem;
}

/* ============================================
   BASVURU MODULE - NAVIGATION BUTTONS
   ============================================ */

.basvuru-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--basvuru-slate-100);
}

.basvuru-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--basvuru-slate-600);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--basvuru-slate-200);
    cursor: pointer;
    transition: all 0.2s ease;
}

.basvuru-btn-secondary:hover {
    background: var(--basvuru-slate-50);
    border-color: var(--basvuru-slate-300);
    color: var(--basvuru-slate-800);
}

.basvuru-btn-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--basvuru-emerald);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.basvuru-btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* ============================================
   BASVURU MODULE - ALERT STYLES
   ============================================ */

.basvuru-alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.basvuru-alert i {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.basvuru-alert-info {
    background: rgba(37, 99, 235, 0.08);
    color: var(--basvuru-blue);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-table thead {
    background: #f8fafc;
}

.custom-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e5e7eb;
}

.custom-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.custom-table tbody tr:hover {
    background: #f8fafc;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Cards */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 3rem 0 1rem;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes slideInTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .announcements-container {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .navbar-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }

    /* Mobile Sticky Navbar Behavior */
    .navbar {
        position: fixed;
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* File Upload */
.file-upload-container {
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-container.dragover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.file-upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.file-upload-text {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Progress Bar */
.progress {
    height: 0.75rem;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.progress-bar.success {
    background: var(--success-color);
}

.progress-bar.warning {
    background: var(--warning-color);
}

.progress-bar.danger {
    background: var(--danger-color);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
}

.badge-primary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================
   BASVURU MODULE - LIFECYCLE COMPONENT STYLES
   ============================================ */

/* Lifecycle Phase Colors */
:root {
    --lifecycle-taslak: #64748b;
    --lifecycle-kesif: #2563eb;
    --lifecycle-teklif: #6366f1;
    --lifecycle-kurulum: #f59e0b;
    --lifecycle-aktif: #10b981;
    --lifecycle-rejected: #ef4444;
}

/* Module Header Component */
.basvuru-module-header {
    margin-bottom: 1.5rem;
}

.basvuru-module-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--basvuru-slate-500);
    margin-bottom: 0.5rem;
}

.basvuru-module-header .breadcrumb a {
    color: var(--basvuru-blue);
    text-decoration: none;
}

.basvuru-module-header .breadcrumb a:hover {
    text-decoration: underline;
}

.basvuru-module-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--basvuru-slate-800);
    margin: 0;
}

/* Lifecycle Status Badges */
.lifecycle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.lifecycle-badge-taslak {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
}

.lifecycle-badge-kesif {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.lifecycle-badge-teklif {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.lifecycle-badge-kurulum {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.lifecycle-badge-aktif {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.lifecycle-badge-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Lifecycle Action Cards */
.lifecycle-action-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--basvuru-slate-200);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.lifecycle-action-card:hover {
    border-color: var(--basvuru-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lifecycle-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lifecycle-action-icon.blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--basvuru-blue);
}

.lifecycle-action-icon.emerald {
    background: rgba(16, 185, 129, 0.1);
    color: var(--basvuru-emerald);
}

.lifecycle-action-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--basvuru-amber);
}

.lifecycle-action-content {
    flex: 1;
}

.lifecycle-action-title {
    font-weight: 600;
    color: var(--basvuru-slate-800);
    margin-bottom: 0.25rem;
}

.lifecycle-action-desc {
    font-size: 0.875rem;
    color: var(--basvuru-slate-500);
}

.lifecycle-action-btn {
    padding: 0.625rem 1.25rem;
    background: var(--basvuru-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

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

/* Payment Info Cards */
.payment-info-card {
    background: linear-gradient(135deg, var(--basvuru-slate-800) 0%, var(--basvuru-slate-900) 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.payment-info-header i {
    font-size: 1.25rem;
}

.payment-info-header h4 {
    margin: 0;
    font-size: 1rem;
}

.payment-info-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.payment-info-currency {
    font-size: 1rem;
    opacity: 0.8;
}

/* Discovery Progress */
.discovery-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discovery-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--basvuru-slate-200);
    border-radius: 4px;
    overflow: hidden;
}

.discovery-progress-fill {
    height: 100%;
    background: var(--basvuru-blue);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.discovery-progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--basvuru-slate-600);
    min-width: 40px;
}

/* Offer Summary Cards */
.offer-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-summary-card {
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
}

.offer-summary-card.upfront {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid #93c5fd;
}

.offer-summary-card.recurring {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border: 1px solid #6ee7b7;
}

.offer-summary-label {
    font-size: 0.875rem;
    color: var(--basvuru-slate-500);
    margin-bottom: 0.5rem;
}

.offer-summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--basvuru-slate-800);
}

.offer-summary-period {
    font-size: 0.8125rem;
    color: var(--basvuru-slate-500);
    margin-top: 0.25rem;
}

/* Installation Timeline */
.installation-timeline {
    position: relative;
    padding-left: 2rem;
}

.installation-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--basvuru-slate-200);
}

.installation-step {
    position: relative;
    padding-bottom: 1.5rem;
}

.installation-step:last-child {
    padding-bottom: 0;
}

.installation-step-marker {
    position: absolute;
    left: -1.625rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--basvuru-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.installation-step.completed .installation-step-marker {
    background: var(--basvuru-emerald);
    border-color: var(--basvuru-emerald);
    color: white;
}

.installation-step.active .installation-step-marker {
    background: var(--basvuru-blue);
    border-color: var(--basvuru-blue);
    color: white;
}

.installation-step-content {
    padding-left: 0.5rem;
}

.installation-step-title {
    font-weight: 600;
    color: var(--basvuru-slate-800);
    margin-bottom: 0.25rem;
}

.installation-step.pending .installation-step-title {
    color: var(--basvuru-slate-400);
}

.installation-step-desc {
    font-size: 0.875rem;
    color: var(--basvuru-slate-500);
}

/* Sensor Status Grid */
.sensor-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.sensor-status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--basvuru-slate-50);
    border-radius: 8px;
    border: 1px solid var(--basvuru-slate-200);
}

.sensor-status-item.online {
    border-color: #6ee7b7;
    background: #f0fdf4;
}

.sensor-status-item.offline {
    border-color: #fca5a5;
    background: #fef2f2;
}

.sensor-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--basvuru-slate-400);
}

.sensor-status-item.online .sensor-status-dot {
    background: var(--basvuru-emerald);
}

.sensor-status-item.offline .sensor-status-dot {
    background: var(--basvuru-rose);
}

.sensor-status-info {
    flex: 1;
}

.sensor-status-name {
    font-weight: 500;
    color: var(--basvuru-slate-800);
    font-size: 0.875rem;
}

.sensor-status-location {
    font-size: 0.75rem;
    color: var(--basvuru-slate-500);
}

/* Responsive for lifecycle components */
@media (max-width: 768px) {
    .offer-summary-grid {
        grid-template-columns: 1fr;
    }

    .lifecycle-action-card {
        flex-direction: column;
        text-align: center;
    }

    .lifecycle-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for active indicators */
@keyframes pulse-indicator {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.pulse-indicator {
    animation: pulse-indicator 2s infinite;
}

/* ============================================
   SHARED DASHBOARD COMPONENT STYLES (LOCALIZED)
   Prefix: rs-
   ============================================ */

/* Page Layout */
.rs-page {
    background: var(--rs-page-bg);
    min-height: calc(100vh - 60px);
    padding: 1.5rem 2rem;
}

.rs-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.rs-page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .rs-page-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.rs-page-header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.rs-page-header-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--rs-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--rs-shadow-md);
}

.rs-page-header-icon .material-icons-round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.rs-icon-primary {
    background: linear-gradient(135deg, var(--rs-primary), #3b82f6);
}

.rs-page-header-icon .material-icons-round {
    font-size: 1.75rem;
}

.rs-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rs-slate-900);
    margin: 0;
    letter-spacing: -0.02em;
}

.rs-page-subtitle {
    font-size: 0.9rem;
    color: var(--rs-slate-500);
    margin: 0.25rem 0 0 0;
}

/* Stats Grid */
.rs-stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .rs-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rs-stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .rs-stats-grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.rs-stat-card {
    background: var(--rs-card-bg);
    padding: 1.5rem;
    border-radius: var(--rs-radius-lg);
    border-left: 4px solid transparent;
    box-shadow: var(--rs-shadow-sm);
    transition: all var(--rs-transition-normal);
    cursor: pointer;
}

.rs-stat-card-sm {
    padding: 1rem 1.25rem;
}

.rs-stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--rs-shadow-lg);
}

.rs-stat-primary { border-left-color: var(--rs-primary); }
.rs-stat-emerald { border-left-color: var(--rs-emerald); }
.rs-stat-amber   { border-left-color: var(--rs-amber); }
.rs-stat-indigo  { border-left-color: var(--rs-indigo); }
.rs-stat-rose    { border-left-color: var(--rs-rose); }
.rs-stat-cyan    { border-left-color: #06b6d4; }
.rs-stat-slate   { border-left-color: var(--rs-slate-400); }

.rs-stat-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.rs-stat-info { flex: 1; }

.rs-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rs-slate-900);
    margin: 0;
    line-height: 1;
}

.rs-stat-card-sm .rs-stat-value {
    font-size: 1.5rem;
}

.rs-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rs-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0.5rem 0 0 0;
}

/* Material Icons Round Utility */
.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none !important;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Filter Toolbar */
.rs-filter-toolbar {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--rs-radius-lg);
    box-shadow: var(--rs-shadow-sm);
    border: 1px solid var(--rs-slate-100);
}

.rs-filter-left {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-end;
    flex: 1;
}

.rs-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rs-filter-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--rs-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
}

.rs-filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border-radius: var(--rs-radius-md);
    border: 1px solid var(--rs-slate-200);
    background-color: var(--rs-slate-50);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rs-slate-700);
    outline: none;
    cursor: pointer;
    transition: all var(--rs-transition-normal);
    min-width: 140px;
}

.rs-filter-select:hover {
    border-color: var(--rs-slate-300);
    background-color: #fff;
}

.rs-filter-select:focus {
    border-color: var(--rs-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--rs-primary-light);
}

.rs-filter-right {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.rs-search-box {
    position: relative;
    min-width: 280px;
}

.rs-search-box .material-icons-round {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rs-slate-400);
    font-size: 1.25rem;
    pointer-events: none;
}

.rs-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: var(--rs-radius-md);
    border: 1px solid var(--rs-slate-200);
    background-color: var(--rs-slate-50);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    transition: all var(--rs-transition-normal);
}

.rs-search-box input:focus {
    border-color: var(--rs-primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--rs-primary-light);
}

.rs-search-box input::placeholder {
    color: var(--rs-slate-400);
    font-weight: 400;
}

/* Table Card */
.rs-table-card {
    background: var(--rs-card-bg);
    border-radius: var(--rs-radius-lg);
    box-shadow: var(--rs-shadow-sm);
    overflow: hidden;
}

.rs-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--rs-slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rs-table-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rs-slate-800);
    margin: 0;
}

.rs-table-wrapper {
    overflow-x: auto;
}

.rs-table {
    width: 100%;
    border-collapse: collapse;
}

.rs-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rs-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--rs-slate-50);
}

.rs-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--rs-slate-100);
    font-size: 0.9rem;
    color: var(--rs-slate-700);
    vertical-align: middle;
}

.rs-table tbody tr {
    cursor: pointer;
    transition: background-color var(--rs-transition-fast);
}

.rs-table tbody tr:hover {
    background-color: var(--rs-primary-light);
    color: var(--rs-primary);
}

/* Status Badges */
.rs-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--rs-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.rs-badge-taslak { background: var(--rs-slate-100); color: var(--rs-slate-600); }
.rs-badge-primary { background: var(--rs-primary-light); color: var(--rs-primary); }
.rs-badge-teklif { background: var(--rs-indigo-light); color: var(--rs-indigo); }
.rs-badge-kurulum { background: var(--rs-amber-light); color: var(--rs-amber); }
.rs-badge-aktif  { background: var(--rs-emerald-light); color: var(--rs-emerald); }
.rs-badge-red    { background: var(--rs-rose-light); color: var(--rs-rose); }

/* Buttons */
.rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--rs-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--rs-transition-fast);
    text-decoration: none !important;
}

.rs-btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.375rem;
}

.rs-btn-primary { background: var(--rs-primary); color: white; }
.rs-btn-primary:hover { background: var(--rs-primary-hover); transform: translateY(-1px); }

.rs-btn-emerald { background: var(--rs-emerald); color: white; }
.rs-btn-emerald:hover { background: var(--rs-emerald-hover); }

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

.rs-btn:active {
    transform: scale(0.96);
}

.rs-btn-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-radius-sm);
    background: transparent;
    color: var(--rs-slate-400);
    border: none;
    cursor: pointer;
    transition: all var(--rs-transition-fast);
}

.rs-btn-icon:hover {
    background: var(--rs-slate-100);
    color: var(--rs-slate-600);
}

/* Pagination */
.rs-pagination {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--rs-slate-100);
}

.rs-pagination-info { font-size: 0.85rem; color: var(--rs-slate-500); font-weight: 500; }

.rs-pagination-controls { display: flex; align-items: center; gap: 0.5rem; }

.rs-pagination-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-radius-sm);
    border: 1px solid var(--rs-slate-200);
    background: white;
    color: var(--rs-slate-600);
    cursor: pointer;
    transition: all var(--rs-transition-fast);
}

.rs-pagination-btn:hover:not(:disabled) { border-color: var(--rs-primary); color: var(--rs-primary); }
.rs-pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.rs-pagination-current { font-size: 0.85rem; font-weight: 700; color: var(--rs-slate-700); margin: 0 0.5rem; }

/* Empty & Loading States */
.rs-empty-state, .rs-loading-state {
    padding: 4rem 2rem;
    text-align: center;
}

.rs-empty-icon-wrapper {
    width: 5rem;
    height: 5rem;
    background: var(--rs-slate-50);
    border-radius: var(--rs-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rs-empty-icon-wrapper .material-icons-round { font-size: 2.5rem; color: var(--rs-slate-300); }
.rs-empty-title { font-size: 1.25rem; font-weight: 700; color: var(--rs-slate-800); margin-bottom: 0.5rem; }
.rs-empty-subtitle { font-size: 0.95rem; color: var(--rs-slate-500); margin-bottom: 2rem; }

.rs-loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--rs-slate-200);
    border-top-color: var(--rs-primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: rs-spin 0.8s linear infinite;
}

/* Modal Styling */
.rs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.rs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
}

.rs-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    border-radius: var(--rs-radius-xl);
    box-shadow: var(--rs-shadow-xl);
    overflow: hidden;
    animation: rs-fade-in-up 0.3s ease-out;
}

.rs-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--rs-slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rs-slate-50);
}

.rs-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rs-slate-800);
}

.rs-modal-body {
    padding: 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .rs-filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .rs-filter-left, .rs-filter-right {
        flex-direction: column;
        align-items: stretch;
    }
    .rs-search-box {
        min-width: 100%;
    }
}

/* Utilities */
.text-right { text-align: right; }
.text-muted { color: var(--rs-slate-400); }
