@font-face {
    font-family: "Noto Sans Mono";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/notosansmono/v30/BngMUXZGTXPUvIoyV6yN59fK7KKTqIvZyaCnJT3awQ.woff2) format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans Mono", monospace;
    background: #000;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(58, 58, 60, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(10, 132, 255, 0.5);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 132, 255, 0.7);
}

header {
    margin-bottom: 24px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version {
    color: #0a84ff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 6px;
    margin-top: 4px;
}

.subtitle {
    color: #666;
    font-size: 0.875rem;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.infobtn {
    background: rgba(58, 58, 60, 0.8);
    color: #0a84ff;
    border: 1px solid rgba(10, 132, 255, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.infobtn:hover {
    background: rgba(58, 58, 60, 1);
    border-color: rgba(10, 132, 255, 0.4);
    transform: translateY(-1px);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.controlgroup label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #fff;
    font-size: 13px;
    letter-spacing: -0.3px;
}

.fileuploadwrapper {
    position: relative;
}

.uploadarea {
    background: rgba(10, 132, 255, 0.1);
    border: 2px dashed rgba(10, 132, 255, 0.3);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.uploadarea:hover {
    background: rgba(10, 132, 255, 0.15);
    border-color: rgba(10, 132, 255, 0.5);
    transform: translateY(-2px);
}

.uploadarea.dragover {
    background: rgba(10, 132, 255, 0.2);
    border-color: #0a84ff;
}

.uploadicon {
    font-size: 28px;
    margin-bottom: 8px;
    color: #0a84ff;
}

.uploadtext {
    font-size: 13px;
    color: #0a84ff;
    font-weight: 500;
}

.uploadsubtext {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

input[type="file"] {
    display: none;
}

.colorinputwrapper {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

input[type="text"],
input[type="number"] {
    flex: 1;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #0a84ff;
    background: rgba(58, 58, 60, 1);
}

input[type="text"]::placeholder,
input[type="number"]::placeholder {
    color: #636366;
}

.colorpreview {
    min-width: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #ff0000;
    transition: all 0.3s;
    cursor: pointer;
}

.colorpreview:hover {
    transform: scale(1.05);
}

.colorsuggestions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.colorsuggest {
    background: rgba(58, 58, 60, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
}

.colorsuggest:hover {
    background: rgba(58, 58, 60, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.customcolorbtn {
    background: rgba(10, 132, 255, 0.1) !important;
    border-color: rgba(10, 132, 255, 0.3) !important;
    color: #0a84ff !important;
}

.customcolorbtn:hover {
    background: rgba(10, 132, 255, 0.2) !important;
    border-color: rgba(10, 132, 255, 0.5) !important;
}

.customcolorssection {
    margin-top: 12px;
}

.customcolorsdivider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 12px;
}

.customcolorsgrid {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.customcoloritem {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    font-weight: 500;
}

.customcoloritem:hover {
    background: rgba(58, 58, 60, 1);
    transform: translateY(-2px);
}

.customcolordot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.customcolorremove {
    margin-left: 4px;
    color: #666;
    font-size: 10px;
    padding: 0 4px;
    transition: color 0.2s;
}

.customcolorremove:hover {
    color: #ff3b30;
}

.colorpickeroverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.colorpickeroverlay.show {
    display: flex;
    opacity: 1;
}

.colorpickercontent {
    background: rgba(28, 28, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.colorpickeroverlay.show .colorpickercontent {
    transform: scale(1);
}

.colorpickerclose {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.colorpickerclose:hover {
    background: rgba(58, 58, 60, 1);
    transform: rotate(90deg);
}

.colorpickerheader h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.colorpickerbody {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.colorpickerinputgroup {
    display: flex;
    gap: 12px;
    align-items: center;
}

.colorpickerinputgroup input[type="color"] {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    background: transparent;
}

.colorpickerinputgroup input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.colorpickerinputgroup input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
}

.colorpickertextinput {
    flex: 1;
}

.colorpickeractions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.colorpickeractions .btn {
    flex: 1;
}

input[type="range"] {
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(58, 58, 60, 0.8);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0a84ff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 12px rgba(10, 132, 255, 0.6);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0a84ff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}

.modeselector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.modebtn {
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(58, 58, 60, 0.8);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 12px;
    color: #fff;
    font-family: "Noto Sans Mono", monospace;
}

.modebtn.active {
    background: #0a84ff;
    color: white;
    border-color: #0a84ff;
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.4);
}

.modebtn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(58, 58, 60, 1);
}

.actionbuttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btnprimary {
    background: #0a84ff;
    color: white;
}

.btnprimary:hover:not(:disabled) {
    background: #0070dd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.4);
}

.btnsuccess {
    background: #fff;
    color: #000;
}

.btnsuccess:hover:not(:disabled) {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btndanger {
    background: #ff3b30;
    color: white;
}

.btndanger:hover:not(:disabled) {
    background: #e6342a;
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.btn:active:not(:disabled) {
    transform: scale(0.96);
}

.maincontent {
    margin-left: 380px;
    padding: 32px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.maincontent::-webkit-scrollbar {
    width: 8px;
}

.maincontent::-webkit-scrollbar-track {
    background: rgba(28, 28, 30, 0.3);
}

.maincontent::-webkit-scrollbar-thumb {
    background: rgba(10, 132, 255, 0.5);
    border-radius: 4px;
}

.maincontent::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 132, 255, 0.7);
}

.gallery {
    display: grid;
    gap: 24px;
}

.imagecard {
    background: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    opacity: 0;
    animation: fadein 0.4s ease forwards;
}

@keyframes fadein {
    to { opacity: 1; }
}

.imagecardheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.imagetitle {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.3px;
}

.imageactions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.iconbtn {
    background: rgba(58, 58, 60, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.iconbtn:hover {
    background: rgba(58, 58, 60, 1);
    transform: translateY(-1px);
}

.iconbtn.success {
    background: #34c759;
    border-color: #34c759;
}

.imagegrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.imagebox {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.imagelabel {
    font-size: 11px;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.imagecontent {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.imagecontent canvas {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.emptystate {
    color: #666;
    text-align: center;
    font-size: 13px;
    padding: 40px 20px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0a84ff;
    font-size: 13px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(10, 132, 255, 0.2);
    border-top-color: #0a84ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.errormessage {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    margin-top: 10px;
    display: none;
}

.errormessage.show {
    display: block;
    animation: slidein 0.3s ease;
}

@keyframes slidein {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hiddencanvas {
    display: none;
}

.aboutoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aboutoverlay.show {
    display: flex;
    opacity: 1;
}

.aboutcontent {
    background: rgba(28, 28, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.aboutoverlay.show .aboutcontent {
    transform: scale(1);
}

.aboutclose {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
}

.aboutclose:hover {
    background: rgba(58, 58, 60, 1);
    transform: rotate(90deg);
}

.aboutheader {
    margin-bottom: 24px;
}

.aboutheader h2 {
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0a84ff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.aboutversion {
    color: #666;
    font-size: 0.875rem;
}

.aboutbody {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
}

.aboutbody p {
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-height: none;
    }

    .maincontent {
        margin-left: 0;
    }

    .imagegrid {
        grid-template-columns: 1fr;
    }
    
    .imageactions {
        width: 100%;
    }
    
    .iconbtn {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        font-size: 11px;
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        padding: 20px 16px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .maincontent {
        padding: 20px 16px;
    }
    
    .imagegrid {
        gap: 16px;
    }
    
    .imagebox {
        min-height: 200px;
    }
    
    .aboutcontent,
    .colorpickercontent {
        padding: 24px;
        width: 95%;
    }
    
    .controlgroup label {
        font-size: 12px;
    }
    
    .colorsuggestions {
        gap: 4px;
    }
    
    .colorsuggest {
        font-size: 10px;
        padding: 5px 10px;
    }
}

.adjustment-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.adjustment-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adj-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.adj-value {
    font-family: "Noto Sans Mono", monospace;
    color: #0a84ff;
}

.selective-controls {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.color-pair-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.color-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.label-small {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.color-picker-wrapper {
    position: relative;
    height: 40px;
}

.color-picker-wrapper input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.picker-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.picker-btn:hover, .picker-btn.active {
    background: #0a84ff;
    border-color: #0a84ff;
    color: #fff;
}

.arrow-separator {
    color: #666;
    font-size: 12px;
    padding-top: 18px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #ccc;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: #0a84ff;
    width: 16px;
    height: 16px;
}

.undo-redo-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.btn-small {
    flex: 1;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-small:hover:not(:disabled) {
    background: rgba(58, 58, 60, 1);
    border-color: #0a84ff;
}

.btn-small:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-dashed {
    width: 100%;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: #999;
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.2s;
    font-family: "Noto Sans Mono", monospace;
}

.btn-dashed:hover {
    border-color: #0a84ff;
    color: #0a84ff;
    background: rgba(10, 132, 255, 0.05);
}

.selective-row-wrapper {
    position: relative;
    padding: 12px 24px 12px 12px;
    padding: 24px 12px 12px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.remove-row-btn {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    right: 8px;
    top: 6px;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 12px;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s;
}

.remove-row-btn:hover {
    color: #ff3b30;
    background: #ff3b30;
    border-color: #ff3b30;
    color: #fff;
}

.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(28, 28, 30, 0.95);
    border: 1px solid #0a84ff;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease forwards;
    max-width: 300px;
    text-align: center;
    pointer-events: auto;
}

.toast i {
    color: #0a84ff;
    font-size: 16px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-select {
    width: 100%;
    background: rgba(58, 58, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    font-family: "Noto Sans Mono", monospace;
    cursor: pointer;
}

.exportpreviewwrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#exportpreviewimg {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 8px;
}
