* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
}

.mobile-container {
    width: 100%;
    max-width: 400px;
    background: #182232;
    padding: 24px 20px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 94vh;
    overflow-y: auto;
}

.mobile-container::-webkit-scrollbar {
    width: 5px;
}

.mobile-container::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

.logo-area {
    text-align: center;
    margin-bottom: 24px;
}

.logo-area h1 {
    color: #f59e0b;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.logo-area p {
    color: #94a3b8;
    font-size: 13px;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 13px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

input:disabled, input[readonly] {
    background: #0b1120;
    color: #64748b;
    border-color: #1e293b;
    cursor: not-allowed;
}

select option {
    background: #0f172a;
    color: #fff;
}

.form-row {
    display: flex;
    gap: 10px;
}

.flex-1 {
    flex: 1;
}

.btn {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s, opacity 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: #334155;
    color: #fff;
    box-shadow: none;
}

.btn-save {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.emergency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.footer-links {
    text-align: center;
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.footer-links.single {
    justify-content: center;
}

.footer-links a {
    color: #f59e0b;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* DASHBOARD STİLLERİ */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #0f172a;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid #334155;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f59e0b;
    transition: transform 0.2s, filter 0.2s;
}

.profile-container:hover .profile-avatar {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.driver-info h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.driver-info span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.summary-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 18px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.summary-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.summary-card .amount {
    color: #10b981;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}

.financial-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #ef4444;
    border-radius: 10px;
    overflow: hidden;
}

.financial-progress-bar .income-fill {
    height: 100%;
    background-color: #10b981;
    transition: width 0.4s ease;
}

.grid-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.mini-card {
    flex: 1;
    background: #0f172a;
    padding: 12px 10px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #334155;
}

.mini-card .card-icon {
    font-size: 20px;
}

.mini-card .card-details h5 {
    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.mini-card .card-details p {
    font-size: 15px;
    font-weight: 700;
}

.income-card p {
    color: #34d399;
}

.expense-card p {
    color: #f87171;
}

.action-box {
    background: #0f172a;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #334155;
    margin-bottom: 15px;
}

.action-header h4 {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-align: left;
}

.avatar-preview-box {
    text-align: center;
    margin-bottom: 15px;
}

.large-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f59e0b;
    margin-bottom: 8px;
}
/* Uygulama Tablosu Stilleri */
.app-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    font-size: 14px;
}

.app-table th, .app-table td {
    padding: 12px 14px;
    text-align: left;
}

.app-table th {
    background: #1e293b;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #334155;
}

.app-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-table tr:last-child td {
    border-bottom: none;
}

.badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete:hover {
    background: #ef4444;
    color: #fff;
}