/* ============================================================================
CSS CUSTOM PROPERTIES / VARIABLES
============================================================================ */

:root {
    /* Brand Colors */
    /* --blue: #005d83; */
    --blue: #6DA8A4;
    --warm-cream: #E9E4D9;
    --ocean-teal: #6DA8A4;
    --warm-sage: #C0C0A1;
    --coral-border: #da7f6f;

    /* Card Gradient Colors - Dusty */
    --dusty-start: #d88d8d;
    --dusty-end: #c17e7e;
    --dusty-border: #d88d8d;

    /* Card Gradient Colors - Goldenrod */
    --goldenrod-start: #df9e65;
    --goldenrod-end: #cd925d;
    --goldenrod-border: #e4af7f;

    /* Card Gradient Colors - Dijon */
    --dijon-start: #e3b864;
    --dijon-end: #cfa85b;
    --dijon-border: #e9c682;

    /* Card Gradient Colors - Sunshine */
    --sunshine-start: #ddc55e;
    --sunshine-end: #cab44b;
    --sunshine-border: #e5d388;

    /* Card Gradient Colors - Pea */
    --pea-start: #bcc077;
    --pea-end: #afb36f;
    --pea-border: #cdce98;

    /* Card Gradient Colors - Sea */
    --sea-start: #9bbb78;
    --sea-end: #8eac6e;
    --sea-border: #afc690;

    /* Card Gradient Colors - Ocean */
    --ocean-start: #93c1ae;
    --ocean-end: #82ac9b;
    --ocean-border: #accdbf;

    /* Card Gradient Colors - Sky */
    --sky-start: #6ea9b4;
    --sky-end: #6499a4;
    --sky-border: #8eb8c2;

    /* Card Gradient Colors - Periwinkle */
    --periwinkle-start: #7b9abf;
    --periwinkle-end: #6d88a9;
    --periwinkle-border: #97adcb;

    /* Card Gradient Colors - Berry */
    --berry-start: #9595b5;
    --berry-end: #80819c;
    --berry-border: #a7a7c2;

    /* Card Gradient Colors - Wine */
    --wine-start: #b48197;
    --wine-end: #a17387;
    --wine-border: #bf94a6;
}

/* ============================================================================
CARD COLOR THEME CLASSES
============================================================================ */

.coral {
    background: linear-gradient(
    135deg,
    var(--coral-start) 0%,
    var(--coral-end) 100%
    );
    border-style: Solid;
    border-color: var(--coral-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.dusty {
    background: linear-gradient(
    135deg,
    var(--dusty-start) 0%,
    var(--dusty-end) 100%
    );
    border-style: Solid;
    border-color: var(--dusty-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.salmon {
    background: linear-gradient(
    135deg,
    var(--coral-start) 0%,
    var(--coral-end) 100%
    );
    border-style: Solid;
    border-color: var(--coral-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.goldenrod {
    background: linear-gradient(
    135deg,
    var(--goldenrod-start) 0%,
    var(--goldenrod-end) 100%
    );
    border-style: Solid;
    border-color: var(--goldenrod-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.dijon {
    background: linear-gradient(
    135deg,
    var(--dijon-start) 0%,
    var(--dijon-end) 100%
    );
    border-style: Solid;
    border-color: var(--dijon-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.sunshine {
    background: linear-gradient(
    135deg,
    var(--sunshine-start) 0%,
    var(--sunshine-end) 100%
    );
    border-style: Solid;
    border-color: var(--sunshine-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.pea {
    background: linear-gradient(135deg, var(--pea-start) 0%, var(--pea-end) 100%);
    border-style: Solid;
    border-color: var(--pea-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.sea {
    background: linear-gradient(135deg, var(--sea-start) 0%, var(--sea-end) 100%);
    border-style: Solid;
    border-color: var(--sea-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.ocean {
    background: linear-gradient(
    135deg,
    var(--ocean-start) 0%,
    var(--ocean-end) 100%
    );
    border-style: Solid;
    border-color: var(--ocean-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.sky {
    background: linear-gradient(135deg, var(--sky-start) 0%, var(--sky-end) 100%);
    border-style: Solid;
    border-color: var(--sky-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.periwinkle {
    background: linear-gradient(
    135deg,
    var(--periwinkle-start) 0%,
    var(--periwinkle-end) 100%
    );
    border-style: Solid;
    border-color: var(--periwinkle-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.berry {
    background: linear-gradient(
    135deg,
    var(--berry-start) 0%,
    var(--berry-end) 100%
    );
    border-style: Solid;
    border-color: var(--berry-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

.wine {
    background: linear-gradient(
    135deg,
    var(--wine-start) 0%,
    var(--wine-end) 100%
    );
    border-style: Solid;
    border-color: var(--wine-border);
    border-width: 1px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
UTILITY CLASSES - Width
============================================================================ */

.w12 {
    width: 100%;
}
.w11 {
    width: 91.6%;
}
.w10 {
    width: 83.3%;
}
.w9 {
    width: 75%;
}
.w8 {
    width: 66.6%;
}
.w7 {
    width: 58.3%;
}
.w6 {
    width: 50%;
}
.w5 {
    width: 41.6%;
}
.w4 {
    width: 33.3%;
}
.w3 {
    width: 25%;
}
.w2 {
    width: 16.6%;
}
.w1 {
    width: 8.3%;
}
.w100 {
    width: 100%;
}
.w0 {
    width: 0;
}
.h100 {
    height: 100%;
}
.h0 {
    height: 0;
}

/* ============================================================================
UTILITY CLASSES - Color & Background
============================================================================ */

.c-1 {
    color: #333;
}
.bg-0 {
    background-color: #000;
}
.bg-1 {
    background-color: #efefef;
}
.bg-2 {
    background-color: #ededed;
}

/* ============================================================================
UTILITY CLASSES - Typography
============================================================================ */

.ff-1 {
    font-family: var(--e-global-typography-primary-font-family);
}
.fw-2 {
    font-weight: 200;
}
.fs-sm {
    font-size: 14px;
}
.fs-4 {
    font-size: 16px;
}
.fs-48 {
    font-size: 48px;
}
.tt-low {
    text-transform: lowercase;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

/* ============================================================================
UTILITY CLASSES - Display & Layout
============================================================================ */

.none {
    display: none;
}
.inline-block {
    display: inline-block;
}
.inline-flex {
    display: inline-flex;
}
.flex-dir-col {
    flex-direction: column;
}
.grow1 {
    flex-grow: 1;
}
.hidden {
    visibility: hidden;
}
.nowrap {
    white-space: nowrap;
}

/* ============================================================================
UTILITY CLASSES - Positioning
============================================================================ */

.p-rel {
    position: relative;
}
.fix0000 {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.fix5pc {
    position: fixed;
    top: 5%;
    right: 5%;
    bottom: 5%;
    left: 5%;
}
.fix-tl {
    position: fixed;
    top: 0;
    left: 0;
}
.abs0000 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.abs-5555 {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
}
.abs-tr {
    position: absolute;
    top: 5px;
    right: 5px;
}
.abs-bl {
    position: absolute;
    bottom: 5px;
    left: 5px;
}
.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* ============================================================================
UTILITY CLASSES - Spacing (Margin & Padding)
============================================================================ */

.my-0,
.m-0 {
    margin-top: 0;
}
.mx-0,
.m-0 {
    margin-right: 0;
}
.my-0,
.m-0 {
    margin-bottom: 0;
}
.mx-0,
.m-0 {
    margin-left: 0;
}
.p-1,
.py-1,
.pt-1 {
    padding-top: 18px;
}
.p-1,
.px-1,
.pr-1 {
    padding-right: 18px;
}
.p-1,
.py-1,
.pb-1 {
    padding-bottom: 18px;
}
.p-1,
.px-1,
.pl-1 {
    padding-left: 18px;
}
input[type="email"].p-2,
input[type="text"].p-2,
.p-2 {
    padding: 10px;
}
.px-5pc,
.pl-5pc {
    padding-left: 5%;
}
.px-5pc,
.pr-5pc {
    padding-right: 5%;
}
.px-10pc,
.pl-10pc {
    padding-left: 10%;
}
.px-10pc,
.pr-10pc {
    padding-right: 10%;
}

/* ============================================================================
UTILITY CLASSES - Borders & Effects
============================================================================ */

.bdr-b-1 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.bdr-box {
    box-sizing: border-box;
}
.br-1,
.sq9vw > *,
.sq9vw {
    border-radius: 5px;
}
.decoration-none {
    text-decoration: none;
}
.resize-none {
    resize: none;
}

/* ============================================================================
UTILITY CLASSES - Interactive States
============================================================================ */

.click-1 {
    cursor: pointer;
    display: inline-block;
    transition: 0.25s;
}
.click-1.dimes_disabled,
.click-1:hover {
    opacity: 0.5;
}
.cursor-grab {
    cursor: grab;
}
.op-75 {
    opacity: 0.75;
}

/* ============================================================================
UTILITY CLASSES - Overflow & Z-Index
============================================================================ */

.oy-auto {
    overflow-y: auto;
}
.ox-hidden {
    overflow-x: hidden;
}
.z10 {
    z-index: 10;
}
.z11 {
    z-index: 11;
}

/* ============================================================================
DRAGULA LIBRARY - Core Classes
============================================================================ */

.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
}

/* Hide icons when dragging */
.gu-mirror .none-descendant-1,
.gu-mirror .none-descendant-2,
.none-ancestor-1 .none-descendant-1,
.none-ancestor-2 .none-descendant-2 {
    display: none;
}

.gu-hide {
    display: none !important;
}

.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Dragula transit state - card being dragged */
.gu-transit {
    background-color: rgba(0, 0, 0, 0.25);
}
.gu-transit * {
    opacity: 0;
}

/* Card slot placeholder */
.gu-transit > *,
.card-slot {
    content: "";
    border: 2px dashed rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

/* ============================================================================
MAIN MODAL CONTAINER
============================================================================ */

#dimes_cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    z-index: 10;
    font-family: var(--e-global-typography-primary-font-family);
    color: #333;
    justify-content: center;
    padding: 10vh 0% 63px 10%;
}

#dimes_cards::before,
#dimes_cards::after {
    /* Placeholder for potential transitions */
}

/* Hide instructions panel when flagged */
#dimes_cards[data-no-instructions="true"] {
    padding-left: 0;
}
#dimes_cards[data-no-instructions="true"] #dimes_left_panel {
    display: none;
}

/* Hide right panel when flagged */
#dimes_cards[data-show-right-panel="false"] #dimes_right_panel {
    display: none;
}

/* Prevent body scroll when modal is open */
.dimes_no_scroll {
    overflow: hidden;
}

/* Typography */
#dimes_cards p {
    margin-bottom: 0.5em;
}

/* ============================================================================
NAVIGATION BAR
============================================================================ */

#dimes_nav {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 5%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: var(--green);
    background-image: linear-gradient(
    180deg,
    #76a676 0%,
    var(--green) 100%
    ) !important;
}

#dimes_nav > a {
    color: white;
    background-color: var(--blue);
    padding: 5px 20px;
    margin: 10px;
    border: 4px solid transparent;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: 0.25s;
}

#dimes_nav > a.dimes_disabled {
    border: 0px;
    padding: 0px;
}

#dimes_nav > a:hover {
    opacity: 0.5;
}

/* ============================================================================
LEFT PANEL (Instructions)
============================================================================ */

#dimes_left_panel {
    position: absolute;
    z-index: 2;
    width: 90%;
    height: 100%;
    padding-bottom: 10%;
    transition: right 0.2s;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #ededed;
    text-align: center;
}

#dimes_left_panel > div,
#dimes_main_space,
#dimes_side_space {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

#dimes_left_panel > div > h4 {
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 18px;
    margin: 25px 0 15px 0;
    line-height: 20px;
}

#dimes_left_panel > div > h4:before {
    margin-right: 0.1em;
}

/* Instructions content area */
#dimes_instructions {
    text-align: left;
    padding: 0 18px;
    font-size: 14px;
}

/* Instructions panel state transitions */
#dimes_cards[data-show-instructions="false"] #dimes_left_panel {
    right: 90%;
    background-color: #ededed;
}

#dimes_cards[data-show-instructions="true"] #dimes_left_panel {
    right: 10%;
    background-color: #efefef;
}

/* ============================================================================
MAIN PANEL (Card Area)
============================================================================ */

#dimes_main_panel {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
    overflow-y: scroll;
    width: 50%;
    background-color: #efefef;
    flex-grow: 1;
}

#dimes_main_panel > h1 {
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 18px;
    margin: 25px 0 15px 0;
    line-height: 20px;
}

#dimes_main_space {
    overflow: visible;
}

/* ============================================================================
RIGHT PANEL (Side Panel)
============================================================================ */

#dimes_right_panel > h4 {
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 18px;
    margin: 25px 0 15px 0;
    line-height: 20px;
}

#dimes_right_panel_header {
    margin-bottom: 1rem;
}

/* ============================================================================
INSTRUCTIONS TOGGLE (Mobile)
============================================================================ */

#dimes_instructions_toggle {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 1em;
}

#dimes_instructions_toggle > a {
    color: #333;
    font-size: 18px;
    line-height: 1.2em;
}

#dimes_left_right_toggle {
    display: flex;
    flex-shrink: 0;
    flex-grow: 0;
    width: 11%;
    justify-content: center;
    align-items: stretch;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#dimes_left_right_toggle > a {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

#dimes_left_right_toggle > a > i::before {
    color: white;
    width: auto;
}

/* Toggle button visibility based on instructions state */
#dimes_cards[data-show-instructions="true"]
#dimes_left_right_toggle
> a:first-child {
    display: none;
}

#dimes_cards[data-show-instructions="false"]
#dimes_left_right_toggle
> a:last-child {
    display: none;
}

/* Toggle background colors */
#dimes_cards[data-show-instructions="true"] #dimes_left_right_toggle {
    background-color: #efefef;
}

#dimes_cards[data-show-instructions="false"] #dimes_left_right_toggle {
    background-color: #ededed;
}

/* ============================================================================
CARDS - General Styling
============================================================================ */

.dimes_card {
    position: relative;
    display: inline-block;
    width: 40vw;
    height: 40vw;
    border-radius: 5px;
}

.dimes_card > * {
    border-radius: 5px;
}

.dimes_card > div > p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 14px;
    text-transform: lowercase;
    white-space: nowrap;
}

/* Grip icon for dragging */
.grippy-icon {
    display: inline-block;
    white-space: pre;
    line-height: 7px;
    font-size: 35px;
    opacity: 0.75;
    vertical-align: bottom;
    position: relative;
    bottom: 0.4em;
}

.dimes_card > div > .grippy-icon {
    position: absolute;
    bottom: 15px;
    left: 5px;
    cursor: grab;
}

/* Deck holder */
.dimes_deck_holder {
    flex-grow: 1;
    position: relative;
}

/* Visual aid slots for card placement */
.dimes_visual_aid_slots {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

/* ============================================================================
CARD COMMENTS FORM
============================================================================ */

#dimes_card_comments {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -1em;
}

.dimes_card_comments_field {
    width: 51%;
    align
    flex-shrink: 0;
    margin-bottom: 1em;
    margin-left: 1em;
    flex-grow: 0;
    border-radius: 5px;
    padding-bottom: 0.5em;
}

.dimes_card_comments_field > label {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    font-size: 16px;
    line-height: 3em;
    font-weight: 400;
}

.dimes_card_comments_field > textarea {
    width: 100%;
    height: 12em;
    padding: 0.5em;
    border: 1px solid var(--green) !important;
    border-radius: 15px !important;
    resize: none;
}

#dimes_cards .dimes_card_comments_field > label,
#dimes_cards label > span,
#dimes_cards label {
    color: #333;
}

/* ============================================================================
FORMS & INPUTS
============================================================================ */

#dimes_cards form {
    text-align: left;
    padding: 0 5%;
}

.form-1 input {
    padding: 10px;
}

#dimes_wrap_up > label > input {
    width: 100%;
}

/* ============================================================================
SCROLLBAR CUSTOMIZATION
============================================================================ */

div#dimes_cards ::-webkit-scrollbar {
    width: 10px;
}

div#dimes_cards ::-webkit-scrollbar-track {
    background: gainsboro;
}

div#dimes_cards ::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 5px;
}

div#dimes_cards ::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

/* ============================================================================
BRANDING ELEMENTS
============================================================================ */

.dimes_logo {
    width: 50%;
    max-width: 150px;
    align-self: center;
}

#dimes_copyright {
    font-size: 14px;
}

#dimes_cards .dashicons-no {
    color: white;
}

/* ============================================================================
10 DIMES VARIANT - Overrides & Customizations
============================================================================ */

/* Dime coin styling */
.dime {
    border-style: Solid;
    border-color: #d3d3d3;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=2, Color='#000000') progid:DXImageTransform.Microsoft.gradient(startColorstr='#d3d3d3',endColorstr='#7f8c8d' , GradientType=1);
    background-color: #d3d3d3;
    background-image: url("../img/dime.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dime card dimensions */
.dimes_card {
    width: 90px;
    height: 90px;
}

.dimes_card > .dime > .grippy-icon {
    left: 50%;
    transform: translateX(-50%);
    bottom: 25px;
}

.dimes_card > .dime {
    border-radius: 500px;
}

.dimes_card > .dime p {
    font-size: 1.5rem;
}

.dimes_card > .dime * {
    display: none;
}

.dimes_card > .dime .grippy-icon {
    display: block;
    opacity: 0;
    bottom: 0;
    height: 100%;
}

/* 10 Dimes color scheme */
#dimes_left_panel {
    background-color: var(--blue) !important;
}

.ten-dimes #dimes_left_panel p,
.ten-dimes #dimes_left_panel h4,
.ten-dimes #dimes_left_panel a {
    color: white !important;
}

#dimes_cards.ten-dimes h1,
#dimes_cards.ten-dimes h2,
#dimes_cards.ten-dimes h3,
#dimes_cards.ten-dimes h4,
#dimes_cards.ten-dimes h5,
#dimes_cards.ten-dimes h6 {
    color: var(--blue);
}

#dimes_cards.ten-dimes p {
    color: #333;
}

/* Remove borders from headers */
#dimes_main_panel > h1,
#dimes_left_panel > div > h4,
#dimes_right_panel > h4 {
    border-bottom: 0px;
}

/* Next button hover state */
#dimes_cards[data-show-right-panel="false"] #nav_button_1:hover {
    opacity: 1;
    color: var(--blue);
    background-color: transparent;
    border: 4px solid var(--blue);
}

/* Card comment fields for 10 Dimes */
.ten-dimes .dimes_card_comments_field > textarea {
    height: 8em;
}

/* overrides */
.ten-dimes .dimes_card_comments_field.dime {
    background:none;
    border:none;
    box-shadow:none;
}

#top .ten-dimes .dimes_card_comments_field > label {
    line-height: 1.3;
    margin-bottom: 0.5rem;
    min-height: 50px;
    display: flex;
    align-items: end;
    font-size: 18px;
    font-weight: normal;
}

#top .ten-dimes .dimes_card_comments_field label .dimes_percent {
    color: var(--blue);
    font-weight: bold;
    font-size: 22px;
}

/* Wrap up form */
.ten-dimes #dimes_wrap_up {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction:column;
    gap:1rem;
    max-width:50vw;
}
.ten-dimes #dimes_wrap_up label input {
    margin-top:0.4em;
}

.ten-dimes #dimes_wrap_up label span {
    font-weight: bold;
    color: var(--blue);
    font-size:0.8em;
}


/* ============================================================================
BUCKETS (10 Dimes Sorting Area)
============================================================================ */

#dimes_buckets_panel {
    flex-grow: 1;
    padding: 0 1rem;
    margin-top: 2rem;
}

.dimes_bucket_parent {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dimes_bucket_parent > .dimes_bucket {
    width: calc(20% - 22px);
    padding: 10px;
    border-radius: 15px;
    display: flex;
    flex-direction: column-reverse;
    min-height: 200px;
    margin: 1rem 0.5rem;
    border: 2px dashed var(--blue);
    background-color: white;
}

/* Bucket with dimes in it */
.dimes_bucket_parent > .dimes_bucket.has-dimes {
    border-style: solid;
    /* background-color: var(--blue); */
    background-image: linear-gradient(180deg, var(--warm-sage) 0%, var(--blue) 100%);
    color: var(--warm-cream);
}

.dimes_bucket_parent > .dimes_bucket.has-dimes h5 {
    color: var(--warm-cream) !important;
}

/* Top 3 buckets (green variant) */
.dimes_bucket_parent > .dimes_bucket:nth-child(1),
.dimes_bucket_parent > .dimes_bucket:nth-child(2),
.dimes_bucket_parent > .dimes_bucket:nth-child(3) {
    border-color: var(--green);
}

/* Bucket headers */
.dimes_bucket h5 {
    margin: 5px 0;
}

#dimes_cards.ten-dimes .dimes_bucket_parent > .dimes_bucket h5 {
    font-weight: normal !important;
    color: black;
}

/* Bucket dragula container */
.dimes_bucket_dragula_element {
    flex-grow: 1;
    min-height: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    align-content: flex-end;
}

.dimes_bucket_dragula_element .dimes_card {
    width: 50px;
    height: 50px;
}

/* ============================================================================
RESPONSIVE - Mobile & Tablet (max-width: 767px)
============================================================================ */

@media (max-width: 767px) {
    /* Display utilities */
    .d-none-sm {
        display: none;
    }

    /* Width utilities */
    .w12-sm {
        width: 100%;
    }
    .w11-sm {
        width: 91.6%;
    }
    .w10-sm {
        width: 83.3%;
    }
    .w9-sm {
        width: 75%;
    }
    .w8-sm {
        width: 66.6%;
    }
    .w7-sm {
        width: 58.3%;
    }
    .w6-sm {
        width: 50%;
    }
    .w5-sm {
        width: 41.6%;
    }
    .w4-sm {
        width: 33.3%;
    }
    .w3-sm {
        width: 25%;
    }
    .w2-sm {
        width: 16.6%;
    }
    .w1-sm {
        width: 8.3%;
    }

    /* Cursor utilities */
    .cursor-default-sm {
        cursor: default;
    }
}

/* ============================================================================
RESPONSIVE - Tablet (min-width: 600px)
============================================================================ */

@media (min-width: 600px) {
    #dimes_cards[data-no-instructions="true"],
    #dimes_cards {
        padding: 10vh 5% 5% 5%;
    }

    /* Hide mobile-only elements */
    #dimes_instructions_toggle,
    #dimes_left_right_toggle,
    .dimes_mobile_only {
        display: none;
    }

    #dimes_instructions {
        flex-grow: 1;
    }

    #dimes_nav {
        position: sticky;
    }

    #dimes_left_panel {
        position: static;
        padding-bottom: 0;
    }

    #dimes_cards[data-show-instructions="true"] #dimes_left_panel {
        background-color: #ededed;
    }

    #dimes_left_panel,
    #dimes_right_panel {
        width: 18%;
        flex-shrink: 0;
        min-width: 145px;
        max-width: 220px;
    }

    #dimes_main_panel {
        min-width: 282px;
    }

    #dimes_main_panel > h1 {
        font-size: 30px;
    }

    .dimes_card {
        width: 136px;
        height: 136px;
        cursor: grab;
    }

    .dimes_card_comments_field {
        width: calc(50% - 1em);
    }

    .dimes_logo {
        display: block;
        width: 100%;
        max-width: 60%;
        align-self: center;
        margin: 2rem 1rem 0.5rem;
    }
}

/* ============================================================================
RESPONSIVE - Small Mobile (max-width: 600px) - 10 Dimes Specific
============================================================================ */

@media (max-width: 600px) {
    /* Card sizing */
    .dimes_card {
        width: 60px;
        height: 60px;
    }

    .dimes_bucket_dragula_element .dimes_card {
        width: 30px;
        height: 30px;
    }

    .dimes_bucket_dragula_element {
        min-height: 50px;
    }

    /* Typography */
    #dimes_main_panel > h1 {
        font-size: 26px;
    }

    /* Bucket spacing */
    .dimes_bucket_parent {
        gap: 10px;
    }

    .dimes_bucket_parent > .dimes_bucket {
        margin: 2px;
    }

    /* Toggle background */
    #dimes_cards #dimes_left_right_toggle {
        background-color: var(--blue) !important;
    }

    /* Layout adjustments */
    #dimes_main_panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #dimes_main_panel_header {
        width: 100%;
    }

    #dimes_main_space {
        width: 20%;
        overflow: scroll;
        height: 100vh;
    }

    #dimes_buckets_panel {
        width: 50%;
        margin-top: 0;
    }

    .dimes_bucket_parent > .dimes_bucket {
        min-height: unset;
    }

    #dimes_cards.ten-dimes .dimes_bucket_parent > .dimes_bucket h5 {
        font-size: 12px;
    }

    .ten-dimes[data-show-right-panel="false"] #dimes_main_space {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .dimes_card_comments_field {
        width: 100%;
    }
}

/* ============================================================================
RESPONSIVE - Desktop (min-width: 900px)
============================================================================ */

@media (min-width: 900px) {
    #dimes_main_panel > h1 {
        font-size: 48px;
        font-weight: 200;
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .dimes_card_comments_field {
        width: calc(25% - 1em);
    }
}

/* ============================================================================
RESPONSIVE - Tablet Bucket Layout (max-width: 1300px)
============================================================================ */

@media (max-width: 1300px) {
    .dimes_bucket_parent > .dimes_bucket {
        width: calc(33% - 22px);
    }
}

/* ============================================================================
RESPONSIVE - Small Tablet Bucket Layout (max-width: 900px)
============================================================================ */

@media (max-width: 900px) {
    .dimes_bucket_parent > .dimes_bucket {
        width: calc(50% - 22px);
    }
}

/* ============================================================================
RESPONSIVE - Extra Small Mobile (max-width: 380px)
============================================================================ */

@media (max-width: 380px) {
    #dimes_cards.ten-dimes .dimes_bucket_parent > .dimes_bucket {
        width: 100%;
    }
}

/* ============================================================================
RESPONSIVE - Large Desktop (min-width: 1480px)
============================================================================ */

@media (min-width: 1480px) {
    #dimes_left_panel,
    #dimes_right_panel {
        width: 16%;
        max-width: 16%;
    }

    .dimes_card {
        width: 6vw;
        height: 6vw;
    }
}

/* ============================================================================
RESPONSIVE - Extra Large Desktop (min-width: 1700px)
============================================================================ */

@media (min-width: 1700px) {
    .dimes_card > div > p {
        font-size: 16px;
    }
}
