/* Simple Theme — easily customizable */
:root {
    --bg-color: #f4f7fa;
    --card-bg: #fff;
    --primary: #3A7BD5;
    --primary-hover: #2a63a9;
    --text-color: #333;
    --border-color: #d1d9df;
    --radius: 8px;
    --highlight: #3A7BD5;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 750px;
    margin: 40px auto;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h1, h2 {
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

label {
    font-weight: bold;
    font-size: 0.95em;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1em;
}

button {
    background: var(--primary);
    color: white;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover {
    background: var(--primary-hover);
}

ul {
    list-style: none;
    padding: 0;
}

.meditation-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.meditation-item strong {
    color: var(--primary);
}

.meditation-item small {
    font-size: 0.8em;
    color: #666;
}

.app-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 160px; /* Customize size */
    height: auto;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    font-size: 2.2rem;
    padding: 10px;
}

.app-logo {
    width: 130px; /* Adjust based on your logo */
    height: auto;
    object-fit: contain;
    margin-left: 0;
    margin-right: 0;
}

/* 🔄 Loading Spinner Animation */
.loading-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--highlight);
    font-style: italic;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 3px solid var(--card-bg);
    border-top-color: var(--highlight);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.progress-wrapper {
    width: 100%;
    height: 12px;
    background: #444a;
    border-radius: 6px;
    overflow: hidden;
    margin: 6px 0;
}

.progress-bar {
    height: 100%;
    background: var(--highlight);
    transition: width 0.6s ease;
}

.error-text {
    color: #ff6b6b;
    font-weight: bold;
}

.form-row {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
}

.form-row label {
    flex: 1;
}

.error-box {
    color: #ff6b6b;
    padding: 6px;
    border-left: 3px solid #ff6b6b;
    margin-top: 6px;
}