/* --- Basic Setup & Variables --- */
:root {
    --primary-bg: #2C3E50; /* Dark blue */
    --secondary-bg: #34495E; /* Lighter blue */
    --text-color: #ECF0F1;   /* Light gray */
    --red-btn: #E74C3C;      /* Red */
    --red-btn-hover: #C0392B; /* Darker Red */
    --blue-btn: #3498DB;     /* Blue */
    --blue-btn-hover: #2980B9;/* Darker Blue */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

/* --- Main Layout --- */
.app-container {
    width: 90%;
    max-width: 400px;
    background-color: var(--secondary-bg);
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.screen h1 {
    margin-top: 0;
}

/* --- Onboarding Specifics --- */
.posture-guide {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 1em;
    border-radius: 8px;
    margin-bottom: 2em;
}

.posture-guide ul {
    padding-left: 20px;
    margin: 0;
}

.posture-guide li {
    margin-bottom: 0.5em;
}

/* --- Button Styling --- */
.button {
    display: inline-block;
    border: none;
    padding: 15px 30px;
    border-radius: 50px; /* Makes it pill-shaped */
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 1em;
    width: 80%;
    max-width: 250px;
}

.button:active {
    transform: scale(0.96); /* Button press effect */
}

#continue-btn {
    background-color: var(--blue-btn);
}

#continue-btn:hover {
    background-color: var(--blue-btn-hover);
}

.button-red {
    background-color: var(--red-btn);
}

.button-red:hover {
    background-color: var(--red-btn-hover);
}

.button-secondary {
    background-color: #7F8C8D; /* Gray */
}
.button-secondary:hover {
    background-color: #95A5A6;
}


/* --- Timer Choices --- */
#timer-choices {
    display: none; /* Hidden by default */
    margin-top: 1.5em;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between buttons */
}

#timer-choices .choice-btn {
    width: 100px;
    padding: 15px 0;
    background-color: var(--blue-btn);
}

#timer-choices .choice-btn:hover {
    background-color: var(--blue-btn-hover);
}

/* --- Status Text --- */
#status-text {
    min-height: 40px; /* Prevents layout jump when text changes */
    font-size: 1.1em;
    color: #BDC3C7; /* Lighter text color */
}

/* --- Installation Guide Styling --- */
.install-guide {
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1em;
    margin: 2em 0;
    text-align: center;
}

.install-guide p {
    margin: 0;
}

.install-steps {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
    gap: 1em;
}

.step {
    flex: 1;
}

.step p {
    font-size: 0.9em;
    color: #bdc3c7; /* Lighter text color */
}

.step svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}
