/* Parsel Sistemi - Main Styles */

/* CSS Variables for theming */
:root {
    --app-radius-sm: 8px;
    --app-radius-md: 10px;
    --app-radius-lg: 12px;
    --color-primary: #5a6cff;
    --color-primary-strong: #3b4fd8;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-surface: #ffffff;
    --color-border: #e0e0e0;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --color-text: #f9fafb;
    --color-text-muted: #9ca3af;
    --color-surface: #1f2937;
    --color-border: #374151;
}

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background: #f9fafb;
}

[data-theme="dark"] body {
    background: #111827;
}

.app-main {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

/* Navbar Styles */
.app-navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

[data-theme="dark"] .app-navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 1.5rem;
    color: #ffffff;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.navbar-brand-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.nav-link i {
    font-size: 1rem;
}

.nav-link-text {
    display: inline;
}

@media (max-width: 991px) {
    .nav-link-text {
        display: none;
    }
}

.navbar-right-actions {
    gap: 0.75rem;
}

.avatar-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
}

.avatar-pill i {
    font-size: 1.25rem;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modern-navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.navbar-toggler-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.dropdown-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* ============================================
   AUTH PAGES - MODERN LOGIN DESIGN
   ============================================ */

/* Auth Container & Background */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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%);
    pointer-events: none;
}

[data-theme="dark"] .auth-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #1a1a2e 75%, #16213e 100%);
    background-size: 400% 400%;
}

[data-theme="dark"] .auth-body::before {
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Auth Header */
.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.auth-brand:hover {
    transform: scale(1.05);
    color: #ffffff;
}

.auth-brand i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header .theme-toggle-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.1rem;
}

.auth-header .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg) scale(1.1);
}

/* Auth Main Card */
.auth-main {
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: cardFadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

[data-theme="dark"] .auth-card {
    background: rgba(31, 41, 55, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Auth Card Header */
.auth-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.auth-card-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .auth-card-header h1 {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-card-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Form Styles */
.auth-form {
    margin-top: 2rem;
}

.auth-form .mb-3 {
    margin-bottom: 1.5rem !important;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.auth-form .input-group {
    position: relative;
    margin-bottom: 0.25rem;
}

.auth-form .input-group-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 12px 0 0 12px;
    width: 50px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.auth-form .form-control {
    border: 2px solid var(--color-border);
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-surface);
    color: var(--color-text);
    height: calc(1.5em + 1.5rem);
}

.auth-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.auth-form .form-control.is-invalid {
    border-color: #dc3545;
}

.auth-form .input-group:focus-within .input-group-text {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

.auth-form .invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.5rem;
    display: block;
}

/* Alert Styles */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    color: #198754;
    border-left: 4px solid #198754;
}

/* Auth Actions */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.auth-actions .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-actions .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 2px solid var(--color-border);
}

.auth-actions .form-check-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

.auth-actions a {
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-actions a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    margin-right: 0.5rem;
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.auth-links a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
}

.auth-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 2rem 0 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}

.auth-divider span {
    background: var(--color-surface);
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .auth-divider span {
    background: rgba(31, 41, 55, 0.95);
}

/* Demo Cards Grid */
.auth-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-demo-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.auth-demo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.auth-demo-card strong {
    display: block;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.auth-demo-card code {
    display: block;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

/* Auth Footnote */
.auth-footnote {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.auth-footnote a {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footnote a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.auth-footnote i {
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .auth-card-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-header {
        padding: 0.75rem;
    }
    
    .auth-brand {
        font-size: 1.25rem;
    }
    
    .auth-demo-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .auth-card-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-card-header p {
        font-size: 0.9rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* General Mobile Styles */
@media (max-width: 991px) {
    .app-main {
        padding: 1rem 0;
    }
    
    /* Cards on mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Buttons */
    .btn-group {
        flex-wrap: wrap;
    }
    
    .btn-group .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 0.9375rem;
    }
    
    /* Tables */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 768px) {
    /* Grid adjustments */
    .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    
    .row > * {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Cards */
    .card-header h3,
    .card-header h4,
    .card-header h5 {
        font-size: 1.125rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    /* Forms */
    .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group .btn {
        flex: 1 1 auto;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: 0.5rem;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }
    
    .modal-footer .btn {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0.25rem;
    }
    
    /* Dropdowns */
    .dropdown-menu {
        max-width: calc(100vw - 2rem);
    }
    
    /* Navbar */
    .navbar-toggler {
        padding: 0.375rem 0.5rem;
    }
}

@media (max-width: 576px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9375rem; }
    
    /* Cards */
    .card {
        border-radius: 0.5rem;
    }
    
    .card-header {
        padding: 0.625rem 0.875rem;
    }
    
    .card-header h3,
    .card-header h4,
    .card-header h5 {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 0.875rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }
    
    .btn-sm {
        padding: 0.3125rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .btn-group-vertical {
        width: 100%;
    }
    
    .btn-group-vertical .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .form-label {
        font-size: 0.8125rem;
    }
    
    .input-group-sm .form-control,
    .input-group-sm .form-select {
        font-size: 0.8125rem;
        padding: 0.375rem 0.625rem;
    }
    
    /* Tables */
    .table {
        font-size: 0.8125rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.375rem;
        font-size: 0.75rem;
    }
    
    .table th {
        font-size: 0.6875rem;
        font-weight: 600;
    }
    
    /* Grid */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-header {
        padding: 0.625rem 0.875rem;
    }
    
    .modal-body {
        padding: 0.875rem;
    }
    
    .modal-footer {
        padding: 0.625rem 0.875rem;
    }
    
    /* Alerts */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Utilities */
    .text-sm {
        font-size: 0.8125rem !important;
    }
    
    .text-xs {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 360px) {
    /* Extra small devices */
    .card-body {
        padding: 0.75rem;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.4375rem 0.75rem;
    }
    
    .form-control,
    .form-select {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.625rem;
    }
    
    .table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.375rem 0.25rem;
        font-size: 0.6875rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 0.75rem 1rem !important;
    }
    
    .form-control,
    .form-select {
        min-height: 44px;
    }
    
    .dropdown-item {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Remove hover effects on touch devices */
    .btn:hover {
        transform: none;
    }
}

/* Landscape mobile optimization */
@media (max-width: 991px) and (orientation: landscape) {
    .auth-card {
        max-height: calc(100vh - 60px);
    }
    
    .modal-dialog {
        max-height: calc(100vh - 1rem);
    }
    
    .modal-body {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
}