@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/* GLOBAL CONTAINER */
.palmarosa-app-container {
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    padding: 20px;
    background-color: transparent;
}

/* --- SECTION 1: THE NAVY CARD --- */
.palmarosa-card-face {
    background-color: #051538; /* Deep Navy */
    /* Subtle background pattern effect */
    background-image: radial-gradient(circle at 10% 20%, #0d255e 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, #0d255e 0%, transparent 20%);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    position: relative;
    height: 200px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(5, 21, 56, 0.3);
    margin-bottom: 20px;
}

/* Card Header: Balance & Logo */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.balance-label {
    color: #E91E63; /* Hot Pink */
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-bubble {
    background: #fff;
    color: #051538;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    font-family: serif;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.balance-amount-group {
    position: relative;
    display: inline-block;
}

.balance-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.balance-value .currency {
    font-size: 16px;
    font-weight: 700;
    margin-left: 2px;
}

.teal-swoosh {
    margin-top: -2px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Card Center: Title */
.card-title-row {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Card Bottom: Button */
.card-footer-row {
    display: flex;
    justify-content: center;
}

.btn-card-history {
    background-color: #009688; /* Teal */
    color: #fff;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-card-history .separator {
    opacity: 0.5;
    font-weight: 300;
}

.btn-card-history .icon-history {
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg); /* Adjust for reload icon angle */
    display: inline-block;
}

/* --- SECTION 2: BARCODE BLOCK --- */
.barcode-container {
    background-color: #009688; /* Teal Background */
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 150, 136, 0.2);
}

.barcode-img-wrapper {
    height: 60px;
    overflow: hidden;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.barcode-img-wrapper img {
    height: 100%;
    /* Multiply blend mode ensures the barcode white bg disappears into the teal */
    mix-blend-mode: multiply; 
    display: block;
}

.barcode-number {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #000;
}

/* --- SECTION 3: MENU LIST --- */
.palmarosa-menu-list {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    margin-bottom: 25px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

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

.menu-item:hover {
    background-color: #f9f9f9;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.icon-circle.pink-bg {
    background-color: #FCE4EC; /* Soft Pink */
}

.menu-text {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 600;
    color: #051538; /* Navy Text */
}

.arrow-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #E0F2F1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #009688;
    font-size: 12px;
    font-weight: 700;
}

/* --- SECTION 4: FOOTER BUTTON --- */
.action-footer {
    text-align: center;
}

.btn-return-home {
    display: inline-block;
    background-color: #051538; /* Navy */
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(5, 21, 56, 0.25);
    transition: background 0.2s;
}

.btn-return-home:hover {
    background-color: #0a2357;
}