﻿/* ===============================
   PAGE FOUNDATION
================================ */

.page-background,
body {
    background: #f6f7fb;
}

/* section spacing */

.flat-spacing {
    padding-top: 35px;
    padding-bottom: 90px;
}

/* ===============================
   CARD SYSTEM
================================ */

.card {
    border-radius: 20px !important;
    border: 1px solid #ececf3 !important;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.05) !important;
    transition: box-shadow .2s ease, transform .15s ease;
}

    .card:hover {
        box-shadow: 0 14px 36px rgba(0,0,0,0.06);
    }

    .card-body,
    .card.p-4 {
        padding: 26px !important;
    }

    /* ===============================
   HEADER CARD
================================ */

    .card h4 {
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    .card img {
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

/* ===============================
   DESIGN IMAGE UPLOAD
================================ */

.design-upload-wrapper {
    display: flex;
    flex-direction: column;
}

.design-preview-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.design-add-box {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    border: 2px dashed #d6d6e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease;
    background: #fafafe;
}

    .design-add-box:hover {
        border-color: #5c4fa3;
        background: #f4f2ff;
    }

.plus-icon {
    font-size: 24px;
    font-weight: 700;
    color: #5c4fa3;
}

/* ===============================
   SIZE BUTTONS
================================ */

.size-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid #dadbe6;
    background: #f7f7fb;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all .18s ease;
}

    .size-btn:hover {
        background: #efeff7;
    }

input[type="radio"]:checked + .size-btn {
    background: #5c4fa3;
    color: #ffffff;
    border-color: #5c4fa3;
    box-shadow: 0 4px 10px rgba(92,79,163,0.25);
}

/* ===============================
   SELECTED SIZE PREVIEW
================================ */

.selected-size-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #f2f3f9;
    font-weight: 600;
}

.remove-size-btn {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #777;
}

/* ===============================
   CANVAS OPTIONS
================================ */

.canvas-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #dadbe6;
    background: #f7f7fb;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
}

    .canvas-btn:hover {
        background: #efeff7;
    }

    .canvas-btn input {
        margin-right: 6px;
    }

/* ===============================
   FORM CONTROLS
================================ */

.form-control {
    border-radius: 12px;
    border: 1px solid #dcdde6;
    padding: 12px 14px;
}

    .form-control:focus {
        border-color: #5c4fa3;
        box-shadow: 0 0 0 3px rgba(92,79,163,0.15);
    }

/* ===============================
   BUTTON SYSTEM
================================ */

.btn-primary {
    background: #5c4fa3;
    border-color: #5c4fa3;
    border-radius: 14px;
    font-weight: 600;
    padding: 14px;
    transition: all .2s ease;
}

    .btn-primary:hover {
        background: #51459a;
        border-color: #51459a;
        box-shadow: 0 8px 18px rgba(92,79,163,0.25);
    }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width:768px) {

    .design-preview-container {
        gap: 10px;
    }

    .design-add-box {
        width: 75px;
        height: 75px;
    }

    .card.p-4 {
        padding: 20px !important;
    }
}
