:root {
    --bg-color: #FAF6F0; /* Creamy White */
    --pink: #F198A8;     /* Pastel Pink */
    --blue: #7EBBD7;     /* Sky Blue */
    --yellow: #F6C15B;   /* Mustard Yellow */
    --text-color: #4A3B32; /* Earthy Brown */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .brand-text, .btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

/* Navigation */
.brand-text {
    font-size: 1.8rem;
    color: var(--text-color);
    letter-spacing: 1px;
}

.badge-custom {
    background-color: var(--pink);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Typography */
.main-title {
    color: var(--text-color);
    text-shadow: 2px 2px 0px rgba(246, 193, 91, 0.4); /* Soft yellow shadow */
}

/* Workshop Container */
.workshop-container {
    background-color: white;
    border-radius: 30px;
    max-width: 600px;
    border: 4px solid var(--text-color);
    position: relative;
}

/* Color Palette Swatches */
.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 3px solid transparent;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--text-color);
    transform: scale(1.15);
}

/* Bead Grid */
.bead-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 350px;
    background-color: #f0eae1;
    padding: 10px;
    border-radius: 15px;
    border: 2px solid #e0d5c1;
}

.bead-cell {
    aspect-ratio: 1;
    background-color: transparent;
    border-radius: 50%; /* Makes them look like fuse beads */
    border: 1px solid rgba(74, 59, 50, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--yellow);
    color: var(--text-color);
    border: 2px solid var(--text-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #e5b04a;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--blue);
    color: white;
    border: 2px solid var(--text-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: #6daac5;
    transform: translateY(-2px);
}

/* Modal Styling */
.custom-modal {
    border-radius: 25px;
    border: 3px solid var(--text-color);
    background-color: var(--bg-color);
}
.id-title {
    color: var(--text-color);
    font-size: 1.5rem;
}
.custom-input {
    border: 2px solid #e0d5c1;
    border-radius: 12px;
    padding: 10px;
}
.custom-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.25rem rgba(241, 152, 168, 0.25);
}
.btn-outline-custom {
    border: 2px solid var(--text-color);
    background-color: white;
    color: var(--text-color);
    border-radius: 15px;
}
.btn-check:checked + .btn-outline-custom {
    background-color: var(--pink);
    color: white;
    border-color: var(--text-color);
}
.btn-submit-custom {
    background-color: var(--pink);
    color: white;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    padding: 12px;
    font-weight: bold;
    font-size: 1.1rem;
}
.btn-submit-custom:hover {
    background-color: #df8191;
    color: white;
}

/* Mini Gallery & Tracker Styles */
.border-custom {
    border: 3px solid #e0d5c1;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    width: 100%;
    max-width: 150px;
    background-color: #f0eae1;
    padding: 5px;
    border-radius: 10px;
}

.mini-bead {
    aspect-ratio: 1;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid rgba(74, 59, 50, 0.1);
}

/* --- FINAL MAGIC TOUCHES --- */

/* Custom App-Like Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #df8191;
}

/* Glowing Button Effects */
.btn-submit-custom:hover {
    box-shadow: 0 0 15px rgba(241, 152, 168, 0.6);
}
.btn-primary-custom:hover {
    box-shadow: 0 0 15px rgba(246, 193, 91, 0.6);
}

/* Form Input Animations */
.custom-input {
    transition: all 0.3s ease;
}

/* Mobile Responsiveness Polish */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    .sub-title {
        font-size: 1.1rem;
    }
    .workshop-container {
        padding: 15px !important;
        border-width: 3px;
    }
    .palette {
        gap: 10px !important;
    }
    .color-swatch {
        width: 35px;
        height: 35px;
    }
}

/* Logo Styling */
.nav-logo {
    height: 60px; /* Perfect height for a clean navigation bar */
    width: auto;
    border-radius: 15px; /* Soft, rounded edges */
    border: 2px solid var(--pink); /* A cute pink outline to frame it */
    box-shadow: 0 4px 8px rgba(241, 152, 168, 0.3); /* Soft pink glowing shadow */
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05); /* Slight pop effect when hovered */
}