:root {
    --primary: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --accent: #ff6d00;
    --success: #00c853;
    --danger: #d50000;
    --warning: #ffd600;
    --info: #0288d1;
    --bg: #f5f5f5;
    --card: #ffffff;
    --text: #212121;
    --text-light: #757575;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

/* ============ NAVBAR ============ */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    max-width: 600px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-brand i {
    font-size: 1.5rem;
}

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

.btn-icon {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.3);
}

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

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: white;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* ============ WELCOME CARD ============ */
.welcome-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.welcome-text {
    flex: 1;
    min-width: 0;
}

.welcome-text h1 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-text div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-mini {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8eaf6, #f5f5f5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    border: 2px dashed var(--primary);
}

/* ============ VEHICLE MINI CARD ============ */
.vehicle-mini-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mini-card-header i {
    color: var(--primary);
    font-size: 1.2rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge i {
    font-size: 0.5rem;
    color: #2e7d32;
}

/* ============ SECTION TITLE ============ */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============ QUICK ACTIONS GRID ============ */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.quick-action-item {
    background: var(--card);
    padding: 20px 10px;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.quick-action-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quick-action-item:active {
    transform: scale(0.95);
}

.quick-action-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.quick-action-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

/* ============ RECENT NOTIFICATIONS ============ */
.recent-notifications {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.notification-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f9f9f9;
}

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

.notification-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.notification-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.notification-item small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 4px;
}

.empty-state small {
    font-size: 0.8rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
    margin-bottom: 20px;
}

.page-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.page-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============ PROFILE FORM ============ */
.profile-form {
    background: var(--card);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary);
    width: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ============ BUTTONS ============ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.btn-small {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.btn-small.btn-danger {
    border-color: var(--danger);
    color: var(--danger);
}

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

/* ============ QR DISPLAY ============ */
.qr-display-section {
    margin-top: 20px;
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.qr-display-section h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.qr-code-container canvas {
    border-radius: 10px;
}

.qr-id {
    margin: 12px 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.qr-id code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--primary);
}

.qr-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* ============ NOTIFICATIONS LIST ============ */
.notifications-list {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* ============ VEHICLE DETAIL CARD ============ */
.vehicle-detail {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.detail-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.owner-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.owner-info h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.badge.verified {
    background: rgba(0,200,83,0.2);
    color: #69f0ae;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.detail-items {
    padding: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.detail-label {
    color: var(--text-light);
    font-size: 0.85rem;
}

.owner-note-box {
    margin: 0 20px 20px;
    padding: 14px;
    background: #fff3e0;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    display: flex;
    gap: 10px;
    color: #e65100;
    font-size: 0.9rem;
}

.owner-note-box i {
    font-size: 1.2rem;
    margin-top: 2px;
}

/* ============ RAPID ACTIONS ============ */
.rapid-actions {
    padding: 0 20px 20px;
}

.rapid-actions h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.rapid-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rapid-btn {
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fafafa;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.rapid-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.rapid-btn.warning {
    border-color: #f57c00;
    color: #f57c00;
}

.rapid-btn.warning:hover {
    background: #f57c00;
    color: white;
}

.rapid-btn.info {
    border-color: #0288d1;
    color: #0288d1;
}

.rapid-btn.info:hover {
    background: #0288d1;
    color: white;
}

.rapid-btn.emergency {
    border-color: var(--danger);
    color: var(--danger);
}

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

.rapid-btn.primary {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* ============ CUSTOM MESSAGE BUTTON ============ */
.custom-message-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f3e5f5, #fce4ec);
    border: 2px dashed #7b1fa2;
    border-radius: var(--radius);
    color: #7b1fa2;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.custom-message-btn:hover {
    background: linear-gradient(135deg, #e1bee7, #f8bbd0);
    border-style: solid;
}

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f5f5f5;
    color: var(--danger);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============ SUCCESS MESSAGE ============ */
.success-card {
    text-align: center;
    padding: 60px 30px;
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

.success-card h3 {
    color: var(--success);
    margin-bottom: 8px;
}

.success-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ============ BOTTOM NAVIGATION ============ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.7rem;
    font-weight: 500;
    position: relative;
}

.nav-item i {
    font-size: 1.2rem;
}

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

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    width: 90%;
    max-width: 500px;
}

.toast {
    background: #333;
    color: white;
    padding: 14px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: toastIn 0.3s ease forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.toast.warning {
    background: var(--accent);
}

.toast.fade-out {
    animation: toastOut 0.3s ease forwards;
}

/* ============ ANIMATIONS ============ */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 400px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rapid-buttons {
        grid-template-columns: 1fr;
    }
    
    .welcome-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .welcome-text h1 {
        font-size: 1.2rem;
    }
    
    .nav-item {
        padding: 8px 12px;
    }
}

/* ============ DND MODE ============ */
body.dnd-mode .rapid-btn {
    opacity: 0.5;
    pointer-events: none;
}

/* ============ DARK MODE ============ */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --card: #1e1e1e;
        --text: #ffffff;
        --text-light: #b0b0b0;
        --border: #333333;
    }
}

/* ============ HAKKINDA CSS KODU ============ */
@media (max-width: 400px) {
    .nav-item {
        padding: 8px 6px;  /* padding'i azalt */
    }
    .nav-item span {
        font-size: 0.6rem;  /* yazı boyutunu küçült */
    }
    .nav-item i {
        font-size: 1rem;    /* ikon boyutunu küçült */
    }
}


/* ============ MODERN ONAY LOGİN ÇIKIŞ MODALI ============ */
.logout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.logout-modal.active {
    display: flex;
}

.logout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.logout-dialog {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 32px 24px 24px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logout-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #d50000;
}

.logout-dialog h3 {
    font-size: 1.2rem;
    color: #212121;
    margin-bottom: 8px;
    font-weight: 700;
}

.logout-dialog p {
    color: #757575;
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.logout-buttons {
    display: flex;
    gap: 12px;
}

.logout-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logout-btn-cancel {
    background: #f5f5f5;
    color: #616161;
}

.logout-btn-cancel:hover {
    background: #eeeeee;
}

.logout-btn-confirm {
    background: linear-gradient(135deg, #d50000, #b71c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(213, 0, 0, 0.3);
}

.logout-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 0, 0, 0.4);
}

.logout-btn:active {
    transform: scale(0.97);
}



/* ============ TELEFON GİZLEME CSS ============ */

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #1a237e;
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}


/* ============ ENGELİ KADIR MESAJI İKİ SATIR CSS ============ */
#confirmText {
    white-space: pre-line;
}




/* ============ <!-- Bildirim Açma Uyarısı-1 --> YÜKLEME İZİN REHBERİ MODAL ============ */
.permission-tree {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 20000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}
.permission-tree.active { transform: translateY(0); }
.tree-header {
    background: linear-gradient(135deg, #1a237e, #534bae);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 28px 28px 0 0;
    position: relative;
}
.tree-header h3 { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.2rem; }
.tree-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}
.tree-step {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 14px;
}
.step-number {
    width: 32px;
    height: 32px;
    background: #1a237e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-content { flex: 1; }
.step-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.step-desc { font-size: 0.75rem; color: #666; }
.sub-steps {
    margin-top: 10px;
    margin-left: 10px;
    padding-left: 12px;
    border-left: 2px dashed #1a237e;
}
.sub-step {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.8rem;
}
.sub-step i { width: 24px; }
.badge-open {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.tree-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}
.tree-footer button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a237e, #534bae);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Küçük ekranlar için */
@media (max-width: 480px) {
    .tree-step { padding: 12px 16px; gap: 10px; }
    .step-title { font-size: 0.85rem; }
    .sub-step { font-size: 0.75rem; }
    .tree-header h3 { font-size: 1rem; }
    .badge-open { padding: 2px 8px; font-size: 0.65rem; }
}

.badge-always {
    background: #fff3e0;
    color: #e65100;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}
/* ============ <!-- Bildirim Açma Uyarısı-1 --> YÜKLEME İZİN REHBERİ MODAL ============ */

/* ============ QR TARAMA KARTI STILLERI (QR-RESULT BIREBIR) ============ */

/* PLAKA KUTUSU */
/* ================= PLAKA VE TELEFON - TEK SATIR, AYNI YÜKSEKLİK ================= */
/* Plaka kutusu */
.tr-plate-box {
    display: inline-flex;
    align-items: center;
    border: 2px solid #212121;
    border-radius: 6px;
    background: #ffffff;
    color: #212121;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(0.75rem, 3.5vw, 1rem);
    letter-spacing: 0.5px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 38px;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.tr-plate-box .blue-badge {
    background: #003399;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4px;
    width: 24px;
    height: 100%;
    padding-bottom: 3px;
    flex-shrink: 0;
}
.tr-plate-box .plate-text {
    padding: 0 12px;
    flex-shrink: 0;
}

/* Telefon kutuları - plaka ile aynı yükseklik */
.plate-style-phone {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    max-width: 100%;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.plate-style-phone .phone-digit-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #212121;
    border-radius: 6px;
    background: #ffffff;
    color: #212121;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(0.7rem, 3.2vw, 1rem);
    letter-spacing: 0.5px;
    height: 38px;
    padding: 0 clamp(4px, 2vw, 10px);
    min-width: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.plate-style-phone .phone-hidden-box {
    display: inline-flex;
    align-items: center;
    border: 2px solid #757575;
    border-radius: 6px;
    background: #f5f5f5;
    color: #616161;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(0.65rem, 2.8vw, 0.85rem);
    padding: 6px 12px;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Küçük ekranlar için ortak küçültme */
@media (max-width: 360px) {
    .tr-plate-box {
        height: 34px;
        font-size: 0.7rem;
    }
    .tr-plate-box .plate-text {
        padding: 0 8px;
    }
    .plate-style-phone .phone-digit-box {
        height: 34px;
        font-size: 0.7rem;
        padding: 0 6px;
        min-width: 26px;
    }
}

/* Çok küçük ekranlar (280px altı) için ekstra güvenlik */
@media (max-width: 280px) {
    .tr-plate-box {
        height: 30px;
        font-size: 0.6rem;
    }
    .plate-style-phone .phone-digit-box {
        height: 30px;
        font-size: 0.6rem;
        padding: 0 4px;
        min-width: 22px;
    }
    .plate-style-phone .phone-hidden-box {
        font-size: 0.55rem;
        padding: 4px 8px;
    }
}



/* NOT BÖLÜMLERİ */
.owner-note, .safety-notice {
    margin: 0 20px 12px 20px;
}
.owner-note:last-child, .safety-notice:last-child {
    margin-bottom: 20px;
}

/* DETAY SATIRLARI (PLAKA VE TELEFON İÇİN) */
.detail-row {
    margin: 0;
}
.detail-row:first-child {
    padding-top: 16px;
}
.detail-row:last-child {
    padding-bottom: 16px;
}

/* HIZLI BİLDİRİM BUTONLARI */
.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    color: white;
    transition: transform 0.1s ease, filter 0.1s ease;
}
.action-btn:active {
    transform: scale(0.96);
    filter: brightness(0.85);
}
.action-btn.warning { background: linear-gradient(135deg, #ff6d00, #e65100); }
.action-btn.info { background: linear-gradient(135deg, #0288d1, #01579b); }
.action-btn.emergency { background: linear-gradient(135deg, #d50000, #b71c1c); }
.action-btn.primary { background: linear-gradient(135deg, #1a237e, #0d134a); }

.action-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.action-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.action-text small {
    font-size: 0.65rem;
    opacity: 0.9;
}

/* ÖZEL MESAJ BUTONU */
.custom-msg-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7b1fa2, #4a148c);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.custom-msg-btn:active {
    transform: scale(0.97);
    filter: brightness(0.85);
}








/* ============ STICKER SİPARİŞ MODAL - %100 MOBİL UYUMLU ============ */
/* ============ STICKER SİPARİŞ MODAL - TAM EKRAN MOBİL (ÜSTTE BOŞLUK YOK) ============ */

/* Overlay - Mobilde tam ekran, üstte boşluk yok */
.native-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: stretch; /* Değişti: flex-end yerine stretch */
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Büyük ekranlarda (tablet, desktop) ortada göster */
@media (min-width: 768px) {
    .native-modal-overlay {
        align-items: center;
    }
}

/* Modal Sayfası - Mobilde TAM EKRAN, üstte boşluk YOK */
.native-modal-sheet {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--card, #ffffff);
    border-radius: 0; /* Mobilde köşe yok - tam ekran */
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: 100%; /* TAM EKRAN YÜKSEKLİĞİ */
    max-height: 100%; /* TAM EKRAN YÜKSEKLİĞİ */
    overflow: hidden;
    animation: modalFadeIn 0.25s ease-out;
}

/* Büyük ekranlarda yuvarlak köşeler ve ortalanmış modal */
@media (min-width: 768px) {
    .native-modal-sheet {
        border-radius: 24px;
        height: auto;
        max-height: 85vh;
        margin: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Sürükleme göstergesi - sadece mobilde, opsiyonel */
.modal-drag-indicator {
    width: 40px;
    height: 4px;
    background: #c0c0c0;
    border-radius: 2px;
    margin: 10px auto 6px;
}

@media (min-width: 768px) {
    .modal-drag-indicator {
        display: none;
    }
}

/* Header - Daha kompakt, sabit */
.native-modal-header {
    padding: 14px 20px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border, #e0e0e0);
    position: relative;
    background: var(--card, #ffffff);
    flex-shrink: 0;
}

/* İkon rozeti */
.header-icon-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent, #ff6d00), #ff9100);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
}

.native-modal-header h2 {
    margin: 0 0 2px;
    font-size: 1.2rem;
    color: var(--primary, #1a237e);
    font-weight: 700;
}

.native-modal-header p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--text-light, #757575);
}

/* Kapatma butonu */
.btn-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    /*background: rgba(0, 0, 0, 0.05);*/
	background: #ff6d00 !important;
    border: none;
    /*color: var(--text-light, #757575);*/
	color: white !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-modal-close:active {
    background: rgba(0, 0, 0, 0.1);
}

/* Scroll alanı - Mobilde tam ekran içinde kaydırma */
.native-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Önizleme kartı */
.preview-card-container {
    background: linear-gradient(135deg, var(--primary, #1a237e), var(--primary-light, #534bae));
    border-radius: 16px;
    padding: 16px 15px;
    margin-bottom: 20px;
    text-align: center;
}

.preview-sticker-card {
    background: var(--card, #ffffff);
    border-radius: 14px;
    padding: 5px;
    max-width: 160px;
    margin: 0 auto;
    border: 2px solid var(--accent, #ff6d00);
}

.sticker-inner-brand {
    background: var(--primary, #1a237e);
    border-radius: 12px;
    padding: 12px 8px;
}

/* Önizleme QR kodu */
.qr-preview-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.qr-preview-wrapper canvas,
.qr-preview-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    width: 120px;
    height: 120px;
}

.preview-size-badge {
    color: #ffd600;
    font-size: 0.65rem;
    font-weight: 700;
}

/* Özellik etiketleri */
.features-pill-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
    gap: 6px;
}

.features-pill-grid span {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Seçenek bölüm başlığı */
.section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary, #1a237e);
    margin-bottom: 8px;
}

/* Segment kontrol */
.segmented-control {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
    margin-bottom: 16px;
}

.segment-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 10px 4px;
    text-align: center;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light, #757575);
    position: relative;
    transition: background 0.2s;
    font-family: inherit;
}

.segment-btn .option-icon {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--primary, #1a237e);
    opacity: 0.6;
}

.segment-btn small {
    display: block;
    font-size: 0.55rem;
    color: var(--text-light, #757575);
}

.segment-btn.active {
    background: var(--card, #ffffff);
    color: var(--accent, #ff6d00);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.segment-btn.active .option-icon {
    color: var(--accent, #ff6d00);
    opacity: 1;
}

.popular-badge {
    position: absolute;
    top: -6px;
    right: 2px;
    background: var(--accent, #ff6d00);
    color: white;
    font-size: 0.45rem;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: 700;
}

/* Adet seçici */
.qty-section-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.03);
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.qty-label-side {
    display: flex;
    flex-direction: column;
}

.discount-hint-text {
    font-size: 0.65rem;
    color: var(--accent, #ff6d00);
    font-weight: 500;
}

.native-stepper {
    display: flex;
    align-items: center;
    background: var(--card, #ffffff);
    border-radius: 10px;
    border: 1px solid var(--border, #e0e0e0);
}

.stepper-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.native-stepper input {
    width: 45px;
    text-align: center;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
    background: transparent;
    color: var(--text, #212121);
}

/* Fiyat kartı */
.price-summary-card {
    background: linear-gradient(135deg, var(--primary, #1a237e), var(--primary-light, #534bae));
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-label {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.shipping-badge {
    color: #00e676;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 3px;
}

.price-value .currency {
    color: #ffd600;
    font-size: 1rem;
    font-weight: 800;
    margin-right: 2px;
}

#stickerTotalAmount {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
}

/* Form grupları */
.native-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-wrapper {
    background: var(--card, #ffffff);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border, #e0e0e0);
    transition: all 0.2s ease;
}

.input-wrapper.alignment-top {
    align-items: flex-start;
}

.input-wrapper:focus-within {
    border-color: var(--accent, #ff6d00);
    box-shadow: 0 0 0 2px rgba(255, 109, 0, 0.1);
}

.input-icon {
    color: var(--primary, #1a237e);
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.input-wrapper input,
.input-wrapper textarea {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text, #212121);
    outline: none;
    font-family: inherit;
    width: 100%;
}

.input-wrapper textarea {
    resize: none;
}

/* Footer butonları - sabit */
.native-modal-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border, #e0e0e0);
    display: flex;
    gap: 10px;
    background: var(--card, #ffffff);
    flex-shrink: 0;
}

.btn-native-cancel {
    flex: 1;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light, #757575);
    cursor: pointer;
}

.btn-native-submit {
    flex: 2;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-security-text {
    text-align: center;
    padding: 10px 12px;
    font-size: 0.6rem;
    color: var(--text-light, #757575);
    background: var(--card, #ffffff);
    flex-shrink: 0;
    border-top: 1px solid var(--border, #e0e0e0);
}

.footer-security-text i {
    color: #00c853;
    margin-right: 4px;
}

/* Dark mode uyumu */
@media (prefers-color-scheme: dark) {
    .segment-btn.active {
        background: var(--card, #1e1e1e);
    }
    
    .qty-section-wrapper {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .stepper-btn {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .btn-native-cancel {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .features-pill-grid span {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Bildirim Toast */
#stickerToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #1a237e);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 100001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    text-align: center;
    display: none;
}

/* Taç İşaretli Başlığın Zemin Rengi */
.native-modal-header {
    background: #1a237e !important;
    border-radius: 0px 0px 0 0;
}

.native-modal-header h2,
.native-modal-header p {
    color: white !important;
}

.header-icon-badge {
    background: rgba(255,255,255,0.2) !important;
}

/* ============ STICKER SİPARİŞ MODAL - %100 MOBİL UYUMLU ============ */



/* ============ PROFİL SAYFASI BUTON VE METİN DÜZENLEMELERİ (MOBİL UYUMLU) ============ */

/* QR Display bölümündeki buton grubu */
/*profil sekmesindeki , PDF İndir,JPEG İndir,SVG İndir,Paylaş,Profesyonel Sticker Sipariş Et buton*/

/* ============ PROFİL SAYFASI BUTONLARI - MOBİL UYUM (YÜKSEK ÖNCELİKLİ) ============ */

/* ============ TÜM MOBİL ÇÖZÜNÜRLÜKLER İÇİN PROFİL BUTONLARI ============ */

/* QR buton grubu */
#qrDisplaySection .qr-action-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
}

/* Tüm butonlar için temel stiller */
#qrDisplaySection .qr-action-buttons button,
#qrDisplaySection .qr-action-buttons .btn-primary,
#qrDisplaySection .qr-action-buttons .btn-secondary {
    flex: 1 1 auto !important;
    padding: 8px 10px !important;
    border-radius: 25px !important;
    white-space: nowrap !important;
}

/* Sticker sipariş butonu - TEK TANIM (birleştirilmiş) */
#qrDisplaySection .btn-secondary[onclick*="showStickerModal"] {
    width: 100% !important;
    flex: auto !important;
    white-space: normal !important;
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* ============ ÇÖZÜNÜRLÜK BAZINDA AYARLAR ============ */

/* 1. iPhone SE, Galaxy S8, Pixel 3 (375px) */
@media (max-width: 375px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 65px !important;
        padding: 6px 6px !important;
        font-size: 0.65rem !important;
    }
    #qrDisplaySection .qr-action-buttons button i,
    #qrDisplaySection .qr-action-buttons .btn-primary i,
    #qrDisplaySection .qr-action-buttons .btn-secondary i {
        font-size: 0.6rem !important;
    }
    #qrDisplaySection .btn-secondary[onclick*="showStickerModal"] {
        font-size: 0.7rem !important;
        padding: 8px 10px !important;
    }
}

/* 2. iPhone 6/7/8 Plus, Galaxy S9/S10+ (414px) */
@media (min-width: 376px) and (max-width: 430px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 75px !important;
        padding: 7px 8px !important;
        font-size: 0.7rem !important;
    }
}

/* 3. iPhone 12/13/14 Pro Max, Galaxy S20/S21 Ultra (428px - 440px) */
@media (min-width: 431px) and (max-width: 450px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 80px !important;
        padding: 8px 10px !important;
        font-size: 0.75rem !important;
    }
}

/* 4. Pixel 4, iPhone X/XS (375px dar) için ek iyileştirme */
@media (max-width: 360px) {
    #qrDisplaySection .qr-action-buttons {
        gap: 5px !important;
    }
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 58px !important;
        padding: 5px 4px !important;
        font-size: 0.6rem !important;
    }
    #qrDisplaySection .qr-action-buttons button i,
    #qrDisplaySection .qr-action-buttons .btn-primary i,
    #qrDisplaySection .qr-action-buttons .btn-secondary i {
        font-size: 0.55rem !important;
        margin-right: 2px !important;
    }
}

/* 5. Galaxy Fold, iPhone 5/SE (320px) */
@media (max-width: 320px) {
    #qrDisplaySection .qr-action-buttons {
        gap: 4px !important;
    }
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 52px !important;
        padding: 4px 3px !important;
        font-size: 0.55rem !important;
    }
    #qrDisplaySection .qr-action-buttons button i,
    #qrDisplaySection .qr-action-buttons .btn-primary i,
    #qrDisplaySection .qr-action-buttons .btn-secondary i {
        font-size: 0.5rem !important;
        margin-right: 2px !important;
    }
    #qrDisplaySection .btn-secondary[onclick*="showStickerModal"] {
        font-size: 0.65rem !important;
        padding: 6px 8px !important;
    }
    /* Açıklama metni */
    #qrDisplaySection > div:last-child p {
        font-size: 0.55rem !important;
    }
}

/* 6. Tablet (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 100px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }
    #qrDisplaySection .btn-secondary[onclick*="showStickerModal"] {
        width: auto !important;
        max-width: 300px !important;
        margin: 8px auto 0 !important;
    }
}

/* 7. Küçük tablet (500px - 599px) */
@media (min-width: 500px) and (max-width: 599px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 88px !important;
        padding: 9px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* 8. Çok küçük (280px altı) */
@media (max-width: 280px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 45px !important;
        padding: 4px 2px !important;
        font-size: 0.5rem !important;
    }
    #qrDisplaySection .qr-action-buttons button i,
    #qrDisplaySection .qr-action-buttons .btn-primary i,
    #qrDisplaySection .qr-action-buttons .btn-secondary i {
        font-size: 0.45rem !important;
        margin-right: 1px !important;
    }
}

/* 9. 720px tablet (opsiyonel) */
@media (min-width: 720px) and (max-width: 1024px) {
    #qrDisplaySection .qr-action-buttons {
        gap: 15px !important;
    }
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 110px !important;
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
    }
}
/* ============ PROFESYONEL STICKER SİPARİŞ BUTONU ORTALAMA ============ */

#qrDisplaySection > div:last-child p {
    text-align: center !important;
}

/* Sticker sipariş butonu ve altındaki div tam genişlikte ve ortada */
.qr-display-section {
    text-align: center !important;
}

.qr-display-section .btn-secondary {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/*Kendi Telefonum için ayarlandı */
@media (min-width: 376px) and (max-width: 430px) {
    #qrDisplaySection .qr-action-buttons button,
    #qrDisplaySection .qr-action-buttons .btn-primary,
    #qrDisplaySection .qr-action-buttons .btn-secondary {
        min-width: 85px !important;
        padding: 8px 10px !important;
        font-size: 0.82rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }
}
    
    #qrDisplaySection .btn-secondary[onclick*="showStickerModal"] {
        font-size: 1.0rem !important;
        padding: 10px 12px !important;
        width: calc(100% - 16px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
}

/* QR Display bölümündeki buton grubu */
/*profil sekmesindeki , PDF İndir,JPEG İndir,SVG İndir,Paylaş,Profesyonel Sticker Sipariş Et buton*/
