/* _content/SealCarRental/Components/Layout/MainLayout.razor.rz.scp.css */
/* Modern Seal Car Rental - MainLayout Styles */

/* Reset ve Base Styles */
*[b-2v4vmny8qn] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* App Container */
[b-2v4vmny8qn] .app-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==================== SIDEBAR ==================== */
[b-2v4vmny8qn] .sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e5e7eb;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

[b-2v4vmny8qn] .sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

[b-2v4vmny8qn] .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[b-2v4vmny8qn] .logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[b-2v4vmny8qn] .logo-icon i {
    font-size: 28px;
}

[b-2v4vmny8qn] .logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

/* Navigation */
[b-2v4vmny8qn] .sidebar-nav {
    padding: 1.5rem 1rem;
}

[b-2v4vmny8qn] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[b-2v4vmny8qn] .nav-link i {
    font-size: 22px;
    transition: all 0.3s ease;
}

[b-2v4vmny8qn] .nav-link span {
    font-size: 0.9375rem;
}

[b-2v4vmny8qn] .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

[b-2v4vmny8qn] .nav-link:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateX(4px);
}

[b-2v4vmny8qn] .nav-link:hover::before {
    transform: translateX(0);
}

[b-2v4vmny8qn] .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[b-2v4vmny8qn] .nav-link.active i {
    color: white;
}

[b-2v4vmny8qn] .nav-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1.5rem 0;
}

[b-2v4vmny8qn] .nav-section {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    margin-bottom: 0.75rem;
}

/* ==================== MAIN CONTAINER ==================== */
[b-2v4vmny8qn] .main-container {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Bar */
[b-2v4vmny8qn] .top-bar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[b-2v4vmny8qn] .page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

[b-2v4vmny8qn] .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

[b-2v4vmny8qn] .user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border-radius: 10px;
}

[b-2v4vmny8qn] .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;
}

[b-2v4vmny8qn] .user-avatar i {
    font-size: 24px;
}

[b-2v4vmny8qn] .user-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

[b-2v4vmny8qn] .user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

[b-2v4vmny8qn] .user-role {
    font-size: 0.75rem;
    color: #6b7280;
}

[b-2v4vmny8qn] .btn-logout,
[b-2v4vmny8qn] .btn-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 8px;
    background: #ef4444;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

[b-2v4vmny8qn] .btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[b-2v4vmny8qn] .btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

[b-2v4vmny8qn] .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[b-2v4vmny8qn] .btn-logout i,
[b-2v4vmny8qn] .btn-login i {
    font-size: 18px;
}

/* Page Content */
[b-2v4vmny8qn] .page-content {
    flex: 1;
    padding: 2rem;
    max-width: 1600px;
    width: 100%;
}

/* Scrollbar */
[b-2v4vmny8qn] .sidebar::-webkit-scrollbar {
    width: 6px;
}

[b-2v4vmny8qn] .sidebar::-webkit-scrollbar-track {
    background: #f9fafb;
}

[b-2v4vmny8qn] .sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

[b-2v4vmny8qn] .sidebar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    [b-2v4vmny8qn] .sidebar {
        width: 240px;
        transform: translateX(-100%);
    }
    
    [b-2v4vmny8qn] .main-container {
        margin-left: 0;
    }
    
    [b-2v4vmny8qn] .page-content {
        padding: 1rem;
    }
}

/* _content/SealCarRental/Components/Pages/VehicleModal.razor.rz.scp.css */
.form-row-2[b-r8t75vpoox] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-row-3[b-r8t75vpoox] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.form-select[b-r8t75vpoox] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-select:hover:not(:disabled)[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-select:focus[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-select:disabled[b-r8t75vpoox] {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-select option[b-r8t75vpoox] {
    padding: 0.75rem;
    font-weight: 500;
}

.form-select option:disabled[b-r8t75vpoox] {
    color: #9ca3af;
}

.form-input[b-r8t75vpoox] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:hover[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
}

.form-input:focus[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-textarea[b-r8t75vpoox] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    font-family: inherit;
}

.form-textarea:hover[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
}

.form-textarea:focus[b-r8t75vpoox] {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

@media (max-width: 768px) {
    .form-row-2[b-r8t75vpoox],
    .form-row-3[b-r8t75vpoox] {
        grid-template-columns: 1fr;
    }
}

/* _content/SealCarRental/Components/Shared/Modal.razor.rz.scp.css */
.modal-overlay[b-ehrz39vbh6] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn-b-ehrz39vbh6 0.2s ease;
    padding: 1rem;
    overflow-y: auto;
}

@keyframes fadeIn-b-ehrz39vbh6 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container[b-ehrz39vbh6] {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp-b-ehrz39vbh6 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp-b-ehrz39vbh6 {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-ehrz39vbh6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title[b-ehrz39vbh6] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-close[b-ehrz39vbh6] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f3f4f6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.modal-close:hover[b-ehrz39vbh6] {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.modal-close .material-icons[b-ehrz39vbh6] {
    font-size: 1.25rem;
}

.modal-body[b-ehrz39vbh6] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

@media (max-width: 768px) {
    .modal-container[b-ehrz39vbh6] {
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header[b-ehrz39vbh6] {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-title[b-ehrz39vbh6] {
        font-size: 1.25rem;
    }
    
    .modal-body[b-ehrz39vbh6] {
        padding: 1.5rem;
    }
}

