/* ============================================
   KIOSK / NATIVE-LIKE LAYOUT
   Header/Footer olmadan kompakt tasarım
   ============================================ */

/* Base Reset */
.kiosk-layout {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
    font-family: "Roboto Condensed", sans-serif;
}

/* Kiosk Header - Logo ve Login Butonu */
.kiosk-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kiosk-logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.kiosk-logo img {
    max-height: 45px;
    width: auto;
    filter: brightness(0) invert(1); /* Beyaz logo için */
}

.kiosk-login-btn {
    background: white;
    color: #0933e7;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kiosk-login-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.kiosk-login-btn[style*="rgba(255,255,255,0.2)"]:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

.kiosk-login-btn:active {
    transform: translateY(0);
}

/* Header için içerik padding */
.kiosk-layout .kiosk-login-wrapper {
    padding-top: 80px;
    min-height: calc(100vh - 60px);
}

.kiosk-layout .kiosk-payment-wrapper {
    padding-top: 80px;
    min-height: calc(100vh - 60px);
}

/* Logo için lacivert zemin (beyaz logo için) */
.kiosk-layout .kiosk-login-header,
.kiosk-layout .kiosk-payment-header {
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
    padding: 20px;
    border-radius: 0 0 20px 20px;
    margin: -20px -20px 20px -20px;
}

.kiosk-layout .kiosk-login-header img,
.kiosk-layout .kiosk-payment-header img {
    filter: brightness(0) invert(1); /* Beyaz logo için */
}

.kiosk-layout * {
    box-sizing: border-box;
}

/* Container */
.kiosk-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Login Layout - Kompakt */
.kiosk-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
}

.kiosk-login-card {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 0;
    overflow: hidden;
}

.kiosk-login-header {
    text-align: center;
    padding: 40px 30px 30px 30px;
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
    color: white;
}

.kiosk-login-header h2,
.kiosk-login-header p {
    color: white;
}

.kiosk-login-header img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Beyaz logo için */
}

.kiosk-login-card > div:last-child {
    padding: 30px;
}

.kiosk-login-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.kiosk-login-header p {
    font-size: 14px;
    color: #666;
}

/* Payment Layout - Kompakt */
.kiosk-payment-wrapper {
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
}

.kiosk-payment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.kiosk-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.kiosk-back-btn:hover {
    background: #f8f9fa;
    border-color: #0933e7;
}

.kiosk-payment-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}

.kiosk-payment-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Tablet ve üzeri */
@media (min-width: 768px) {
    .kiosk-payment-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .kiosk-login-card {
        max-width: 520px;
        padding: 50px 40px;
    }
}

/* Kiosk (1024px+) */
@media (min-width: 1024px) {
    .kiosk-container {
        max-width: 1200px;
        padding: 30px;
    }
    
    .kiosk-payment-content {
        grid-template-columns: 400px 1fr;
    }
    
    .kiosk-login-card {
        max-width: 600px;
        padding: 60px 50px;
    }
}

/* Touch-optimized inputs */
.kiosk-layout input[type="text"],
.kiosk-layout input[type="email"],
.kiosk-layout input[type="password"],
.kiosk-layout input[type="tel"],
.kiosk-layout textarea,
.kiosk-layout select {
    min-height: 52px;
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    width: 100%;
    transition: all 0.2s;
}

.kiosk-layout input:focus,
.kiosk-layout textarea:focus,
.kiosk-layout select:focus {
    outline: none;
    border-color: #0933e7;
    box-shadow: 0 0 0 4px rgba(9, 51, 231, 0.1);
}

/* Touch-optimized buttons */
.kiosk-layout .btn,
.kiosk-layout button {
    min-height: 52px;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.kiosk-layout .btn-primary,
.kiosk-layout .odemebutton {
    background: linear-gradient(135deg, rgba(6,28,128,1) 0%, rgba(9,51,231,1) 100%);
    color: white;
}

.kiosk-layout .btn-primary:hover,
.kiosk-layout .odemebutton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(9, 51, 231, 0.3);
}

.kiosk-layout .btn-secondary {
    background: #ff8300;
    color: white;
}

.kiosk-layout .btn-secondary:hover {
    background: #ff9829;
    transform: translateY(-2px);
}

/* Cards */
.kiosk-layout .card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: none;
}

.kiosk-layout .container {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.kiosk-layout .card-header {
    background: transparent;
    border: none;
    padding: 0 0 15px 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #0933e7;
}

/* Remove default margins */
.kiosk-layout .row {
    margin: 0;
}

.kiosk-layout .col-12,
.kiosk-layout .col-md-5,
.kiosk-layout .col-md-6,
.kiosk-layout .col-md-7,
.kiosk-layout .col-xs-12 {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* Grid override for payment */
.kiosk-payment-content > div {
    margin-bottom: 20px;
}

/* Compact spacing */
.kiosk-layout .mt-2,
.kiosk-layout .mt-3,
.kiosk-layout .mt-4,
.kiosk-layout .mt-5 {
    margin-top: 15px !important;
}

.kiosk-layout .mb-3,
.kiosk-layout .mb-4,
.kiosk-layout .mb-5 {
    margin-bottom: 15px !important;
}

/* Hide breadcrumb and unnecessary elements */
.kiosk-layout .breadcrumb,
.kiosk-layout hr:first-of-type,
.kiosk-layout .nav-menu {
    display: none;
}

/* Form groups */
.kiosk-layout .form-group {
    margin-bottom: 20px;
}

.kiosk-layout label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

/* Card body padding */
.kiosk-layout .card-body {
    padding: 20px;
}

/* Table responsive */
.kiosk-layout .table {
    width: 100%;
    font-size: 14px;
}

.kiosk-layout .table thead th {
    background: #f8f9fa;
    font-weight: 600;
    padding: 12px;
    border-bottom: 2px solid #e5e5e5;
}

.kiosk-layout .table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

/* Loading overlay */
.kiosk-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.kiosk-loading.active {
    display: flex;
}

.kiosk-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

