:root {
    --swish-green-top: #c5d72f;
    --swish-green-bottom: #009344;
    --bg-color: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: "Myriad Pro", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    /* Reduced from 400px */
    padding: 20px;
}

.swish-card {
    width: 100%;
    aspect-ratio: 3 / 4.1;
    background: linear-gradient(135deg, #abbc1b 0%, #009344 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    /* Reduced padding */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Rounded bottom effect from the image */
.swish-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -10%;
    width: 120%;
    height: 150px;
    background: white;
    border-radius: 50%;
    z-index: 0;
}

.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 2;
}

.pl-logo {
    max-width: 220px;
    height: auto;
    border-radius: 20px;
}

.title {
    color: white;
    font-size: 2.1rem;
    /* Reduced from 2.5rem */
    font-weight: 600;
    margin: 5px 0 25px 0;
    text-align: center;
    z-index: 2;
}

.qr-container {
    background: white;
    padding: 25px;
    /* Reduced from 35px */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.open-app-btn {
    margin-top: 25px;
    width: 100%;
    padding: 16px;
    background-color: #1799e1;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 147, 68, 0.3);
}

.open-app-btn:hover {
    background-color: #2493cf;
    transform: translateY(-2px);
}

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

#qrcode {
    margin-bottom: 15px;
}

#qrcode img {
    display: block;
}

.qr-number {
    color: #4a4a4a;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.qr-name {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-text {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 25px;
    z-index: 1;
}

.swish-branding {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.swish-logo-image {
    height: 60px;
    width: auto;
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid #ddd;
    z-index: 100;
    width: 300px;
    display: none;
}

.admin-panel h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.admin-panel button {
    width: 100%;
    padding: 10px;
    background: #009344;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-panel button:hover {
    background: #007a38;
}

.toggle-btn {
    background: #666 !important;
}

.show-admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.show-admin-btn:hover {
    opacity: 1;
}

@media (max-width: 450px) {
    .container {
        padding: 10px;
    }

    .title {
        font-size: 1.8rem;
    }
}