:root {
    --font-main: 'Inter', system-ui, sans-serif;

    /* Soft UI Theme Colors */
    --bg-main: #f2f3f5;
    --card-bg: #ffffff;

    --text-main: #2d3748;
    --text-muted: #718096;

    /* Pastel Accents */
    --accent-yellow: #fcd34d;
    /* Transfer yellow */
    --accent-green: #a7f3d0;
    /* Request green */
    --accent-purple: #e9d5ff;
    /* Pink/Purple */
    --accent-blue: #bfdbfe;

    --primary: #fcd34d;
    /* Default primary action */
    --primary-text: #1a202c;

    --danger: #feb2b2;

    /* Soft Shadows */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius: 24px;
    --anim-speed: 0.3s;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#app {
    width: 100%;
    max-width: 480px;
    /* Mobile app feel */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto;
}

/* Typography */
h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
    color: var(--text-main);
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.logo {
    font-size: 1.5rem;
    /* background: var(--card-bg); */
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    /* box-shadow: var(--shadow-soft); */
}

/* Cards (Replacing Glass Panel) */
.glass-panel {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: none;
    /* No border for soft UI */
    transition: transform var(--anim-speed), box-shadow var(--anim-speed);
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Steps */
.step-num {
    background: var(--text-main);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

/* Board Grid */
.board-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.board-card {
    position: relative;
    cursor: pointer;
}

.board-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    background: #f7fafc;
    /* Slightly darker than card for contrast */
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--anim-speed);
    border: 2px solid transparent;
}

.board-card input:checked+.card-content {
    background: white;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(233, 213, 255, 0.5);
}

.board-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.board-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* Upload Container */
.uploads-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.upload-block h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .uploads-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--anim-speed);
    cursor: pointer;
    background: #f8fafc;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--accent-yellow);
    background: #fffbeb;
}

.drop-zone p {
    margin: 0;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.sub-text {
    font-size: 0.8rem !important;
    color: var(--text-muted);
    margin-top: 0.25rem !important;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0;
    margin-left: 0.5rem;
}

.icon-btn:hover {
    color: var(--danger);
}

/* Buttons */
.btn {
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--anim-speed);
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.btn.primary {
    background: var(--primary);
    color: var(--primary-text);
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
}

.btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(252, 211, 77, 0.5);
}

.btn.secondary {
    background: var(--accent-green);
    color: #064e3b;
    box-shadow: 0 4px 12px rgba(167, 243, 208, 0.4);
}

.btn.secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(167, 243, 208, 0.5);
}

.large-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.2rem;
    border-radius: 20px;
}

.full-width {
    width: 100%;
}

.mt-2 {
    margin-top: 0.5rem;
}

.centered {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* Terminal */
.terminal {
    min-height: 150px;
    background: #1a202c;
    /* Keep terminal dark */
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #e2e8f0;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #718096;
}

.clear-terminal {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
}

.clear-terminal:hover {
    color: #e2e8f0;
}

.terminal-output {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #68d391;
    overflow-y: auto;
    max-height: 150px;
    scrollbar-width: thin;
}

/* Footer */
footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}