:root {
    --coles-red: #e01a22;
    --coles-dark-red: #b3141b;
    --coles-white: #ffffff;
    --bg-gray: #f4f4f4;
    --text-dark: #333333;
    --accent-green: #2ecc71;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--coles-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-dark);
}

.app-container {
    width: 100%;
    max-width: 400px;
    min-height: 100vh;
    background-color: var(--coles-white);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Red Background Shape */
.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 68%;
    background: radial-gradient(ellipse at center top, #ff3742 0%, #e01a22 40%, #b3141b 100%);
    border-bottom-left-radius: clamp(30px, 6vw, 45px);
    border-bottom-right-radius: clamp(30px, 6vw, 45px);
    z-index: 0;
}

header {
    background-color: transparent;
    padding: clamp(18px, 3vh, 28px) clamp(18px, 4.5vw, 24px);
    text-align: left;
    color: var(--coles-white);
    z-index: 10;
}

header h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

header h1 .highlight {
    color: var(--coles-white);
    opacity: 1;
    font-weight: 800;
    text-transform: uppercase;
}

#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: clamp(8px, 2vw, 16px);
}

/* Trolley Image */
.trolley-image-container {
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: clamp(120px, 25vh, 180px);
    z-index: 1;
}

.trolley-img {
    width: clamp(220px, 55vw, 300px);
    height: clamp(220px, 55vw, 300px);
    object-fit: contain;
    /* White circular badge effect */
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 50%;
    padding: clamp(40px, 8vw, 60px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Controls Container */
.controls-container {
    position: absolute;
    bottom: clamp(15px, 3vh, 30px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, 3vh, 25px);
    z-index: 10;
    padding: 0 clamp(15px, 4vw, 24px);
}

/* Round Button */
.round-button {
    width: clamp(85px, 20vw, 120px);
    height: clamp(85px, 20vw, 120px);
    border-radius: 50%;
    background: var(--coles-white);
    border: none;
    color: var(--text-dark);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    outline: none;
}

.round-button .ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: clamp(3px, 0.8vw, 4px) solid transparent;
    transition: all 0.3s ease;
}

/* Button States */
.round-button.btn-lock .ring {
    border-color: var(--coles-red);
}

.round-button.btn-lock {
    color: var(--coles-red);
}

.round-button.btn-unlock .ring {
    border-color: var(--accent-green);
}

.round-button.btn-unlock {
    color: var(--accent-green);
}

/* Status Bar */
.status-bar {
    width: 90%;
    max-width: 360px;
    padding: clamp(10px, 2vh, 14px) clamp(14px, 4vw, 20px);
    background: var(--bg-gray);
    border-radius: clamp(12px, 3vw, 16px);
    text-align: center;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: var(--text-dark);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

#status-text {
    font-weight: 700;
}

/* Status Text Colors */
.status-unlocked {
    color: var(--accent-green);
}

.status-locked {
    color: var(--coles-red);
}

.status-transition {
    color: var(--text-dark);
    font-style: italic;
}