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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.container {
    text-align: center;
    padding: 20px;
}

/* Form Input Kasir ID */
.form-kasir {
    background: #111111;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
}

.form-kasir h2 {
    margin-bottom: 24px;
    font-weight: 500;
    color: #ffffff;
}

.form-kasir input {
    padding: 14px 20px;
    font-size: 18px;
    border: 2px solid #333333;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    width: 250px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

.form-kasir input:focus {
    border-color: #ffffff;
}

.form-kasir input::placeholder {
    color: #666666;
}

.form-kasir button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-kasir button:hover {
    background: #cccccc;
}

/* QR Display */
.qr-display {
    display: none;
}

/* Status Indicator - KEEP COLORS */
.status-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin: 0 auto 20px;
    transition: background 0.3s;
}

.status-box.disconnected {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.status-box.connected {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

/* QR Container */
#qr-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    display: none;
    overflow: hidden;
}

/* Text */
#qr-text {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    max-width: 400px;
    word-wrap: break-word;
}

.kasir-id-label {
    font-size: 12px;
    color: #888888;
    margin-top: 16px;
}

/* Payment Success Overlay */
.payment-success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.payment-success-overlay.show {
    display: flex;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    color: #000000;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    animation: scaleIn 0.4s ease-out;
}

.success-text {
    margin-top: 24px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    animation: fadeInUp 0.4s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}