main {
    padding-top: 0;
}

.button-nav {
    width: 100%;
    max-width: 400px;
    background-color: #EEA377;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: .5rem .5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.button-nav:hover {
    background-color: #70C36C; /* Blue-600 */
}

#fashioner-body {
    background-color: #ECF3E5;
}

#patternDiv {
    border: dotted 2px #e6e6e6;
    background-color: #ffffff;
    overflow: scroll;
    height: 90vh;
    max-width: 80%;
}

.instr-bk {
    background-color: aliceblue !important;
}

#tool-panel {
    font-size: 0.9rem;
    padding: 1rem;
    right: 0;
}

#draftProps p {
    margin: 0;
}

#draftProps {
    margin-bottom: 1em;
}

.itemCursorDrag {
    cursor: move;
}

.btn:disabled,
.btn.disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

a#mainHdr {
    display: block;
    font-size: 1.25rem;
    text-decoration: underline;
}

#fashioner-nav {
    z-index: 999;
    background-color: #ECF3E5;
}

#fashioner-nav .navbar-brand {
    font-size: 1.25rem;
}

.bd-example-modal-lg .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 24px);
}

.bd-example-modal-lg .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.resizer {
    width: 1px !important;
    height: 90vh;
    background-color: #ECF3E5;
    padding: 5px;
    cursor: col-resize;
}

.card-img {
    max-height: 300px;
    width: 100%;
    height: auto;
    text-align: center;
}

.draft-link {
    text-decoration: none;
}

.card-img img {
    max-height: 300px;
    margin: 0 auto;
    max-width: 100%;
    border: none;
    background-color: transparent;
}
.layout_ctr_selvage{
    fill: none;
    stroke-width: 1.5;
    stroke:  #000000;
}
.layout_left_selvage{
    fill: none;
    stroke-width: 1.5;
    stroke: #58d961;
}
.layout_right_selvage{
    fill: none;
    stroke-width: 1.5;
    stroke: #06c2ff;
}
.layout-label-text {
    pointer-events: none;
    user-select: none; /* Prevents text selection */
    font-family: Arial, sans-serif;
    fill: #000000;
}
.layout_pattern_rs{
    fill: white;
    stroke:  #000000;
    stroke-width: 0.5;
}

.fabric_interfacing {
    fill: url(#interfacing);
    stroke-width: 0.5;
    stroke: #000000;
}

.fabric_right_side {
    fill: #fbf9f2;
    stroke-width: 0.5;
    stroke: #000000;
}

.fabric_wrong_side {
    fill: #ededed;
    stroke-width: 0.5;
    stroke: #000000;
}

.pattern_reverse {
    fill: url(#revPattern);
    stroke-width: 0.5;
    stroke: #000000;
}

.text-alert {
    color: red;
}

.layer_mover {
    fill: deeppink;
}

#arrow {
    fill: darkgreen;
    stroke: none;
}

/*Reserved for software only*/

.select_hover {
    stroke: yellow !important;
    stroke-width: 6 !important;
}

.select_hover * {
    stroke: yellow !important;
    stroke-width: 6 !important;
}

.canvas_outline {
    stroke: #00ff80;
    stroke-width: 15;
    fill: yellow;
    fill-opacity: 0.3;
}

.show_item {
    stroke-width: 4 !important;
    stroke: yellow !important;
}

.show_item_green {
    stroke-width: 5 !important;
    stroke: #68e924 !important;
}

.show_item_blue {
    stroke-width: 5 !important;
    stroke: blue !important;
}


.selected_layer {
    background: #caeed0;
}

.select_yellow_fash {
    stroke: yellow !important;
    stroke-width: 6 !important;
}

.select_green_fash {
    stroke-width: 3 !important;
    stroke: green !important;
}
.select_tr_green_fash {
    stroke-width: 3 !important;
    stroke: #008000 !important;
    opacity: .25 !important;
}
.select_violet_fash {
    stroke-width: 3 !important;
    stroke: #d900ff !important;
}

.select_blue_fash {
    stroke-width: 3 !important;
    stroke: blue !important;
}
.select_tr_blue_fash {
    stroke-width: 3 !important;
    stroke: #0579ed !important;
    opacity: .25 !important;
}
.select_red_pt_fash {
    stroke-width: 3 !important;
    stroke: red !important;
}

.select_red_lc_fash {
    fill: none;
    stroke: red !important;
    stroke-width: 2 !important;
}

.select_blue_lc_fash {
    fill: none;
    stroke: blue !important;
    stroke-width: 2 !important;
}

.select_green_lc_fash {
    fill: none;
    stroke: green !important;
    stroke-width: 2 !important;
}

.select_violet_lc_fash {
    fill: none;
    stroke: #d900ff !important;
    stroke-width: 2 !important;
}

.select_msmtPt_fash {
    fill: none;
    stroke: #2cc3ad !important;
    stroke-width: 4 !important;
}

.selected_text {
    fill: red !important;
    font-family: Arial, sans-serif !important;
}

.hide_item {
    display: none !important;
}

.hidden_txt {
    color: orange;
}

.hidden_active_txt {
    color: red;
}

.visible_active_txt {
    color: #399135;
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.thick-hr {
    height: 5px;
    border: none;
    background-color: #8c8a8a;
}

/* These are all for multi-size grading*/
.dropdown-item {
    display: flex;
    align-items: center;
}

.grading_pattern_rs {
    fill: white;
}

.base-custom-bg {
    background-color: #c2fad4;
}

input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 0.5rem;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 0.5rem;
}

/*This is all for layers dropdown in Properties */

ul li ul li {
    clear: both;
    width: 100%;
}

li {
    list-style-type: none;
}
li.num {
    list-style-type: decimal;
}
.tree, .tree ul, .tree li {
    position: relative;
}

.tree ul {
    list-style: none;
    padding-left: 32px;
}

.tree li::before, .tree li::after {
    content: "";
    position: absolute;
    left: -12px;
}

.tree li::before {
    border-top: 1px solid #000;
    top: 9px;
    width: 8px;
    height: 0;
}

.tree li::after {
    border-left: 1px solid #000;
    height: 100%;
    width: 0;
    top: 2px;
}

.tree ul > li:last-child::after {
    height: 8px;
}

.selected_tree {
    background-color: yellow;
}

.form-spacing {
    margin-top: 12px;
}

.menu-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.menu-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.menu-row:last-child {
    margin-bottom: 0;
}

.menu-button {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
}

.menu-button:hover {
    background: #f1df85;
    border-color: #999;
}

.menu-button.active {
    background: rgba(243, 132, 243, 0.61);
    border-color: rgba(149, 83, 149, 0.61);
    color: white;
}

.menu-button.has-submenu::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #ab73d5;
    border-radius: 50%;
}

.back-button {
    background: #6c757d;
    color: white;
    border-color: #545b62;
}

.back-button:hover {
    background: #545b62;
}

.menu-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.breadcrumb {
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.menu-disabled {
    position: relative;
}

.menu-disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    pointer-events: none;
}

.disabled-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #856404;
    text-align: center;
}

.menu-button:disabled {
    cursor: not-allowed !important;
}
/**********************************************************Specific to the style dropdown*/
.pmp-style-container {
    position: relative;
    width: 300px;
}
.pmp-dropdown-list {
    /* Mimics Bootstrap dropdown-menu but with fixed height/scroll */
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 10;
    width: 90%;
}
.pmp-dropdown-item {
    /* Mimics Bootstrap list-group-item / dropdown-item */
    padding: 5px 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.15s;
    background-color: #f0f0f0;
}
.pmp-dropdown-item svg {
    height: 50px;
}
.pmp-dropdown-item:hover {
    background-color: #fdfbee;
}
.pmp-svg-preview {
    /* Fixed dimensions for the sample SVG */
    width: 60px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}
.pmp-input-active {
    /* Style applied when the dropdown is open */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #0d6efd; /* Bootstrap primary blue */
}
.d-none {
    display: none !important;
}
.pt_link{
    fill: url(#linkedGradient);
}



