/* core.css - Layout and Structural Essentials */

:root {
    --bg-color: #0c111d;
    --card-bg: #1f2937;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --global-font: 'Inter', sans-serif;
}

body {
    font-family: var(--global-font);
    background: var(--bg-color);
    padding: 40px;
    color: var(--text-primary);
    margin: 0;
    min-height: 100vh;
}

/* Control Panel UI */
.control-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.theme-switcher,
.font-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: fit-content;
}

.theme-btn,
.font-btn {
    padding: 10px 20px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-btn:hover,
.font-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    transform: translateY(-1px);
}

.theme-btn.active,
.font-btn.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.switcher-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: -5px;
    opacity: 0.8;
}

#exportArea {
    width: 100%;
}

.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Base Button Styles */
button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s;
}

.card-btn {
    background: #cbd5e1;
    color: #1e293b;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    margin-top: 10px;
}

.card-btn:hover {
    background: #94a3b8;
}

.main-btn {
    margin-top: 50px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 40px;
    border-radius: 12px;
    background: var(--accent-blue);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.main-btn:hover {
    background: #2563eb;
}

.section-title {
    width: 100%;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.cards:first-of-type .section-title {
    margin-top: 0;
}