/* =========================================================
   RAGO TOOLS — JPG IMAGE COMPRESSOR
   FINAL DESKTOP APP UI
   Matches current iframe.php structure
   ========================================================= */

:root {
    --rjc-bg: #06101a;
    --rjc-bg-deep: #040a12;
    --rjc-panel: #071724;
    --rjc-panel-2: #0a1d2c;
    --rjc-panel-3: #0d2537;

    --rjc-border: rgba(45, 151, 214, .22);
    --rjc-border-soft: rgba(255, 255, 255, .08);
    --rjc-border-bright: rgba(0, 153, 255, .52);

    --rjc-text: #f5f9ff;
    --rjc-text-soft: #c4d1de;
    --rjc-text-muted: #8193a5;

    --rjc-blue: #079cff;
    --rjc-blue-2: #168cff;
    --rjc-cyan: #00d8ff;
    --rjc-green: #00e5a0;
    --rjc-purple: #8b35ff;
    --rjc-red: #ff3155;
    --rjc-yellow: #ffc94a;

    --rjc-radius: 12px;
    --rjc-radius-lg: 15px;

    --rjc-shadow:
        0 16px 45px rgba(0, 0, 0, .30);

    --rjc-transition: .18s ease;
}


/* =========================================================
   RESET
   ========================================================= */

#ragoJpgCompressor,
#ragoJpgCompressor * {
    box-sizing: border-box;
}


#ragoJpgCompressor {

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    color: var(--rjc-text);

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(0, 143, 255, .09),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #06111b 0%,
            #04101a 100%
        );

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 14px;

    line-height: 1.4;

    -webkit-font-smoothing: antialiased;

    overflow: hidden;
}


#ragoJpgCompressor button,
#ragoJpgCompressor input {
    font-family: inherit;
}


#ragoJpgCompressor button {
    cursor: pointer;
}


#ragoJpgCompressor button:disabled {
    cursor: not-allowed;
    opacity: .5;
}


#ragoJpgCompressor [hidden] {
    display: none !important;
}


/* =========================================================
   TOP HEADER
   ========================================================= */

#ragoJpgCompressor .rjc-header {

    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 28px 0 38px;

    background:
        linear-gradient(
            180deg,
            #06121d,
            #05101a
        );

    border-bottom:
        1px solid rgba(0, 153, 255, .10);

    gap: 28px;
}


/* LOGO */

#ragoJpgCompressor .rjc-brand {

    flex: 0 0 auto;

    display: flex;
    align-items: center;
}


#ragoJpgCompressor .rjc-brand-logo {

    font-size: 30px;
    font-weight: 850;

    letter-spacing: -1.5px;

    color: #ffffff;

    white-space: nowrap;
}


#ragoJpgCompressor .rjc-brand-logo span {
    color: var(--rjc-blue);
}


/* NAV */

#ragoJpgCompressor .rjc-nav {

    display: flex;
    align-items: center;

    gap: 5px;

    flex: 1;
}


#ragoJpgCompressor .rjc-nav-item {

    height: 48px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 0 17px;

    border: 1px solid transparent;
    border-radius: 13px;

    background: transparent;

    color: #dce6ef;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background var(--rjc-transition),
        border var(--rjc-transition),
        color var(--rjc-transition);
}


#ragoJpgCompressor .rjc-nav-item:hover {

    background:
        rgba(0, 153, 255, .07);

    color: #ffffff;
}


#ragoJpgCompressor .rjc-nav-item.active {

    background:
        linear-gradient(
            180deg,
            rgba(0, 145, 255, .23),
            rgba(0, 117, 225, .13)
        );

    border-color:
        rgba(0, 153, 255, .36);

    color: #ffffff;

    box-shadow:
        inset 0 0 18px rgba(0, 153, 255, .08);
}


#ragoJpgCompressor .rjc-nav-icon {

    font-size: 20px;

    color: #ffffff;

    line-height: 1;
}


/* HEADER ACTIONS */

#ragoJpgCompressor .rjc-header-actions {

    display: flex;
    align-items: center;

    gap: 14px;

    flex: 0 0 auto;
}


#ragoJpgCompressor .rjc-search {

    width: 255px;
    height: 42px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 14px;

    border:
        1px solid rgba(0, 153, 255, .08);

    border-radius: 22px;

    background:
        rgba(9, 37, 56, .85);

    color: var(--rjc-text-muted);
}


#ragoJpgCompressor .rjc-search-icon {

    font-size: 23px;

    color: #e6f0f8;
}


#ragoJpgCompressor .rjc-search input {

    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #ffffff;

    font-size: 13px;
}


#ragoJpgCompressor .rjc-search input::placeholder {
    color: #9eb0c1;
}


#ragoJpgCompressor .rjc-header-button {

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 50%;

    background:
        rgba(255,255,255,.025);

    color: #ffffff;

    font-size: 24px;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-header-button:hover {

    background:
        rgba(0,153,255,.10);

    border-color:
        rgba(0,153,255,.28);
}


#ragoJpgCompressor .rjc-header-avatar {

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #e9f2fb,
            #9aabbc
        );

    color: #1d3347;

    font-size: 21px;

    box-shadow:
        0 0 0 5px rgba(255,255,255,.025);
}


/* =========================================================
   MAIN WORKSPACE
   ========================================================= */

#ragoJpgCompressor .rjc-workspace {

    width: 100%;

    display: grid;

    grid-template-columns:
        342px
        minmax(0, 1fr)
        438px;

    gap: 10px;

    padding: 12px 18px 0;

    background:
        linear-gradient(
            180deg,
            #06121d,
            #05121d
        );

    align-items: stretch;
}


/* =========================================================
   LEFT PANEL
   ========================================================= */

#ragoJpgCompressor .rjc-left-panel {

    min-width: 0;

    width: 100%;

    height: 900px;

    min-height: 900px;

    max-height: 900px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    padding: 17px 15px 14px;

    border:
        1px solid var(--rjc-border);

    border-radius:
        var(--rjc-radius-lg);

    background:
        linear-gradient(
            180deg,
            #092033,
            #071827
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}


#ragoJpgCompressor .rjc-panel-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;
}


#ragoJpgCompressor .rjc-panel-header h2 {

    margin: 0;

    font-size: 20px;
    font-weight: 750;

    letter-spacing: -.4px;
}


#ragoJpgCompressor .rjc-panel-header h2 span {

    color: #d9e4ed;

    font-size: 16px;
    font-weight: 500;
}


/* OUTLINE BUTTON */

#ragoJpgCompressor .rjc-outline-button {

    height: 43px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 14px;

    border:
        1px solid var(--rjc-blue);

    border-radius: 9px;

    background:
        rgba(0, 128, 255, .06);

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-outline-button:hover {

    background:
        rgba(0, 153, 255, .14);

    box-shadow:
        0 0 20px rgba(0,153,255,.10);
}


#ragoJpgCompressor .rjc-outline-button span {
    font-size: 22px;
    line-height: 0;
}


/* IMAGE BIN */

#ragoJpgCompressor .rjc-image-bin {

    flex: 1;

    min-height: 0;

    height: 0;

    display: flex;

    flex-direction: column;

    gap: 10px;

    overflow-y: auto;

    overflow-x: hidden;

    padding-right: 4px;

    scrollbar-width: thin;
}


#ragoJpgCompressor .rjc-image-bin::-webkit-scrollbar {
    width: 5px;
}


#ragoJpgCompressor .rjc-image-bin::-webkit-scrollbar-track {
    background: transparent;
}


#ragoJpgCompressor .rjc-image-bin::-webkit-scrollbar-thumb {

    background:
        rgba(255,255,255,.14);

    border-radius: 10px;
}


/* EMPTY BIN */

#ragoJpgCompressor .rjc-empty-bin {

    min-height: 150px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: var(--rjc-text-muted);

    border:
        1px dashed rgba(0,153,255,.24);

    border-radius: 11px;

    padding: 20px;
}


#ragoJpgCompressor .rjc-empty-icon {

    margin-bottom: 8px;

    color: #5f7588;

    font-size: 27px;
}


/* IMAGE BIN ITEM */

#ragoJpgCompressor .rjc-bin-item {

    min-height: 101px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 9px;

    border:
        1px solid rgba(30,132,190,.10);

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #0b263b,
            #092033
        );

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-bin-item:hover {

    border-color:
        rgba(0,153,255,.25);

    background:
        linear-gradient(
            135deg,
            #0d2b42,
            #0a2438
        );
}


#ragoJpgCompressor .rjc-bin-item.is-selected {

    border-color:
        rgba(0,153,255,.48);

    box-shadow:
        inset 3px 0 0 var(--rjc-blue);
}


#ragoJpgCompressor .rjc-bin-thumb {

    width: 90px;
    height: 78px;

    flex: 0 0 90px;

    overflow: hidden;

    border-radius: 8px;

    background: #07131e;
}


#ragoJpgCompressor .rjc-bin-thumb img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


#ragoJpgCompressor .rjc-bin-info {

    min-width: 0;

    flex: 1;
}


#ragoJpgCompressor .rjc-bin-name {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #ffffff;

    font-size: 14px;
    font-weight: 650;
}


#ragoJpgCompressor .rjc-bin-meta {

    margin-top: 4px;

    color: #c2d1dd;

    font-size: 13px;
}


#ragoJpgCompressor .rjc-bin-remove {

    width: 39px;
    height: 43px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 9px;

    background:
        rgba(20, 57, 82, .75);

    color: #ffffff;

    font-size: 23px;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-bin-remove:hover {

    background:
        rgba(255,49,85,.16);

    color:
        #ff5c77;
}


/* BIN STATUS */

#ragoJpgCompressor .rjc-bin-status {

    position: absolute;

    right: 3px;
    bottom: 3px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rjc-green);

    color: #00130d;

    font-size: 10px;
}


/* LEFT UPLOAD */

#ragoJpgCompressor .rjc-left-upload {

    margin-top: 13px;
}


#ragoJpgCompressor .rjc-add-more-large {

    width: 100%;
    height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border:
        1px dashed var(--rjc-blue);

    border-radius: 9px;

    background:
        rgba(0, 135, 255, .045);

    color: var(--rjc-blue);

    font-size: 14px;
    font-weight: 600;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-add-more-large:hover {

    background:
        rgba(0,153,255,.11);
}


#ragoJpgCompressor .rjc-add-more-large span {
    font-size: 23px;
}


#ragoJpgCompressor .rjc-quick-upload {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;

    margin-top: 8px;
}


#ragoJpgCompressor .rjc-small-upload {

    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0 6px;

    border:
        1px solid rgba(0,153,255,.22);

    border-radius: 8px;

    background:
        rgba(7,29,45,.75);

    color: #e0ebf3;

    font-size: 10px;

    white-space: nowrap;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-small-upload:hover {

    border-color:
        rgba(0,153,255,.55);

    color: #ffffff;
}


/* =========================================================
   CENTER PANEL
   ========================================================= */

#ragoJpgCompressor .rjc-center-panel {

    min-width: 0;

    padding: 8px 0 0;
}


/* TOOL HEADING */

#ragoJpgCompressor .rjc-tool-heading {

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 0 14px 18px;
}


#ragoJpgCompressor .rjc-tool-icon {

    width: 74px;
    height: 74px;

    flex: 0 0 74px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #ff315c,
            #ed2348
        );

    color: #ffffff;

    font-size: 39px;

    box-shadow:
        0 10px 28px rgba(255,49,92,.22);
}


#ragoJpgCompressor .rjc-tool-heading-text {
    min-width: 0;
}


#ragoJpgCompressor .rjc-title-row {

    display: flex;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


#ragoJpgCompressor .rjc-title-row h1 {

    margin: 0;

    font-size: 31px;
    font-weight: 800;

    letter-spacing: -.8px;
}


#ragoJpgCompressor .rjc-private-badge {

    height: 38px;

    display: inline-flex;
    align-items: center;

    padding: 0 13px;

    border:
        1px solid rgba(0,153,255,.25);

    border-radius: 8px;

    background:
        rgba(0,153,255,.04);

    color: #d8e6ef;

    font-size: 12px;

    white-space: nowrap;
}


#ragoJpgCompressor .rjc-private-badge::first-letter {
    color: var(--rjc-green);
}


#ragoJpgCompressor .rjc-tool-heading-text p {

    margin: 4px 0 0;

    color: #c2cfdb;

    font-size: 14px;
}


/* =========================================================
   UPLOAD CARD
   ========================================================= */

#ragoJpgCompressor .rjc-upload-card {

    min-height: 331px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 28px;

    border:
        1px dashed rgba(0,153,255,.72);

    border-radius: 12px;

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(0,144,255,.08),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #071b2a,
            #061622
        );

    transition:
        border var(--rjc-transition),
        background var(--rjc-transition),
        transform var(--rjc-transition);
}


#ragoJpgCompressor .rjc-upload-card:hover,
#ragoJpgCompressor .rjc-upload-card.is-dragover {

    border-color:
        var(--rjc-cyan);

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(0,180,255,.13),
            transparent 48%
        ),
        #071b2a;
}


#ragoJpgCompressor .rjc-upload-icon {

    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    color: var(--rjc-blue);

    font-size: 82px;
    font-weight: 200;

    line-height: 1;

    text-shadow:
        0 0 25px rgba(0,153,255,.30);
}


#ragoJpgCompressor .rjc-upload-card h2 {

    margin: 0;

    color: #ffffff;

    font-size: 23px;
    font-weight: 750;

    letter-spacing: -.35px;

    text-align: center;
}


#ragoJpgCompressor .rjc-upload-or {

    margin: 6px 0 11px;

    color: #a9bac8;

    font-size: 13px;
}


#ragoJpgCompressor .rjc-upload-buttons {

    display: flex;

    gap: 11px;
}


#ragoJpgCompressor .rjc-primary-upload,
#ragoJpgCompressor .rjc-secondary-upload {

    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 25px;

    border-radius: 9px;

    font-size: 16px;
    font-weight: 650;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-primary-upload {

    min-width: 323px;

    border:
        1px solid rgba(0,153,255,.25);

    background:
        linear-gradient(
            135deg,
            #078df3,
            #1181f4
        );

    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(0,127,255,.18);
}


#ragoJpgCompressor .rjc-primary-upload:hover {

    background:
        linear-gradient(
            135deg,
            #119cff,
            #168cff
        );

    transform: translateY(-1px);
}


#ragoJpgCompressor .rjc-secondary-upload {

    min-width: 203px;

    border:
        1px solid var(--rjc-blue);

    background:
        rgba(0,128,255,.035);

    color: #ffffff;
}


#ragoJpgCompressor .rjc-secondary-upload:hover {

    background:
        rgba(0,153,255,.10);
}


#ragoJpgCompressor .rjc-upload-buttons span {
    font-size: 25px;
}


#ragoJpgCompressor .rjc-upload-help {

    margin: 14px 0 0;

    color: #c0ced9;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   QUICK SOURCES
   ========================================================= */

#ragoJpgCompressor .rjc-source-bar {

    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 8px;

    padding: 4px 0;
}


#ragoJpgCompressor .rjc-source-label {

    margin-right: 3px;

    color: #d7e1e9;

    font-size: 12px;
}


#ragoJpgCompressor .rjc-source-bar button {

    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border:
        1px solid rgba(0,153,255,.24);

    border-radius: 8px;

    background:
        rgba(6,31,47,.8);

    color: #dce7ef;

    font-size: 11px;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-source-bar button:hover {

    background:
        rgba(0,153,255,.10);

    border-color:
        rgba(0,153,255,.55);

    color: #ffffff;
}


/* =========================================================
   COMPRESSION CARD
   ========================================================= */

#ragoJpgCompressor .rjc-compression-card {

    margin-top: 8px;

    padding: 16px 18px;

    border:
        1px solid rgba(0,153,255,.20);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #092033,
            #071927
        );
}


#ragoJpgCompressor .rjc-section-heading {

    display: flex;
    align-items: center;

    gap: 18px;
}


#ragoJpgCompressor .rjc-section-heading > div:first-child {

    flex: 0 0 auto;
}


#ragoJpgCompressor .rjc-section-heading h2 {

    margin: 0;

    color: #ffffff;

    font-size: 15px;
    font-weight: 750;
}


#ragoJpgCompressor .rjc-section-heading p {

    margin: 3px 0 0;

    color: #b8c7d3;

    font-size: 12px;
}


#ragoJpgCompressor .rjc-help {

    display: inline-flex;

    width: 17px;
    height: 17px;

    align-items: center;
    justify-content: center;

    margin-left: 4px;

    border:
        1px solid #008fff;

    border-radius: 50%;

    color: #008fff;

    font-size: 11px;
}


/* VALUE */

#ragoJpgCompressor .rjc-value-badge {

    min-width: 65px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #168dff,
            #087ce8
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 750;

    box-shadow:
        0 5px 18px rgba(0,135,255,.20);
}

















/* SLIDER ROW */

#ragoJpgCompressor .rjc-slider-row {

    display: grid;

    grid-template-columns:
        1fr
        142px;

    gap: 17px;

    margin-top: 14px;
}


#ragoJpgCompressor .rjc-slider-container {
    min-width: 0;

    grid-column: 1;
}


#ragoJpgCompressor .rjc-slider-label {
    display: none;
}


#ragoJpgCompressor #rjcCompressionSlider {

    width: 100%;
    height: 8px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 10px;

    outline: none;

    background:
        linear-gradient(
            90deg,
            #078fff 0%,
            #00d8ca 42%,
            #a12bff 100%
        );
}


#ragoJpgCompressor #rjcCompressionSlider::-webkit-slider-thumb {

    width: 30px;
    height: 30px;

    appearance: none;
    -webkit-appearance: none;

    margin-top: -1px;

    border:
        3px solid #ffffff;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 10px rgba(0,0,0,.40);

    cursor: pointer;
}


#ragoJpgCompressor #rjcCompressionSlider::-moz-range-thumb {

    width: 25px;
    height: 25px;

    border:
        3px solid #ffffff;

    border-radius: 50%;

    background: #ffffff;

    cursor: pointer;
}


#ragoJpgCompressor .rjc-slider-markers {

    display: flex;
    justify-content: space-between;

    margin-top: 8px;

    color: #c2d0dc;

    font-size: 11px;
}

















/* REDUCTION CARD */

#ragoJpgCompressor .rjc-reduction-card {

    min-height: 80px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(0,229,160,.40);

    border-radius: 9px;

    background:
        rgba(0,229,160,.035);

    text-align: center;
}


#ragoJpgCompressor .rjc-reduction-card strong {

    color: var(--rjc-green);

    font-size: 31px;
    font-weight: 750;

    line-height: 1;
}


#ragoJpgCompressor .rjc-reduction-card span {

    margin-top: 6px;

    color: var(--rjc-green);

    font-size: 11px;
}


/* =========================================================
   OPTIONS
   ========================================================= */

#ragoJpgCompressor .rjc-options-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;

    margin-top: 8px;
}


#ragoJpgCompressor .rjc-option-card {

    min-height: 96px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 12px;

    border:
        1px solid rgba(0,153,255,.19);

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #092134,
            #071b2a
        );
}


#ragoJpgCompressor .rjc-option-icon {

    flex: 0 0 auto;

    color: #ffffff;

    font-size: 25px;
}


#ragoJpgCompressor .rjc-option-content {

    min-width: 0;

    flex: 1;
}


#ragoJpgCompressor .rjc-option-content h3 {

    margin: 0;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
}


#ragoJpgCompressor .rjc-option-content p {

    margin: 5px 0 0;

    color: #a9bbc9;

    font-size: 10px;

    line-height: 1.35;
}


/* SWITCH */

#ragoJpgCompressor .rjc-switch {

    position: relative;

    width: 42px;
    height: 24px;

    flex: 0 0 42px;

    cursor: pointer;
}


#ragoJpgCompressor .rjc-switch input {

    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


#ragoJpgCompressor .rjc-switch span {

    position: absolute;

    inset: 0;

    border-radius: 20px;

    background:
        #294155;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-switch span::after {

    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #ffffff;

    transition: var(--rjc-transition);

    box-shadow:
        0 2px 5px rgba(0,0,0,.25);
}


#ragoJpgCompressor .rjc-switch input:checked + span {

    background:
        var(--rjc-blue);
}


#ragoJpgCompressor .rjc-switch input:checked + span::after {

    transform:
        translateX(18px);
}


/* =========================================================
   RIGHT PANEL
   ========================================================= */

#ragoJpgCompressor .rjc-right-panel {

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 9px;
}


/* COMPRESS BUTTON */

#ragoJpgCompressor .rjc-right-panel {

    min-width: 0;

    height: 900px;

    min-height: 900px;

    max-height: 900px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    padding: 17px 15px 14px;

    border:
        1px solid var(--rjc-border);

    border-radius:
        var(--rjc-radius-lg);

    background:
        linear-gradient(
            180deg,
            #092033,
            #071827
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}


#ragoJpgCompressor .rjc-compress-button:hover {

    transform: translateY(-1px);

    box-shadow:
        0 13px 35px rgba(0,112,255,.26);
}


#ragoJpgCompressor .rjc-compress-button span {

    font-size: 24px;
}


/* RESULTS CARD */

#ragoJpgCompressor .rjc-results-card {

    flex: 1;

    min-height: 0;

    display: flex;
    flex-direction: column;

    padding: 15px;

    border:
        1px solid rgba(0,153,255,.20);

    border-radius: 13px;

    background:
        linear-gradient(
            180deg,
            #092033,
            #071a28
        );
}


#ragoJpgCompressor .rjc-results-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;
}


#ragoJpgCompressor .rjc-results-header h2 {

    margin: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 750;
}


#ragoJpgCompressor .rjc-results-header h2 span {

    color: #8195a7;

    font-size: 12px;
    font-weight: 500;
}


/* VIEW SWITCHER */

#ragoJpgCompressor .rjc-view-switcher {

    display: flex;

    overflow: hidden;

    border:
        1px solid rgba(0,153,255,.26);

    border-radius: 7px;
}


#ragoJpgCompressor .rjc-view-switcher button {

    width: 38px;
    height: 37px;

    border: 0;

    background:
        rgba(0,153,255,.02);

    color: #c1d1dd;

    font-size: 18px;
}


#ragoJpgCompressor .rjc-view-switcher button.active {

    background:
        rgba(0,153,255,.25);

    color:
        var(--rjc-blue);
}


/* RESULTS LIST */

#ragoJpgCompressor .rjc-results-list {

    flex: 1;

    min-height: 0;

    height: 0;

    overflow-y: auto;

    overflow-x: hidden;

    padding-right: 4px;

    scrollbar-width: thin;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


#ragoJpgCompressor .rjc-results-list::-webkit-scrollbar {
    width: 4px;
}


#ragoJpgCompressor .rjc-results-list::-webkit-scrollbar-thumb {

    background:
        rgba(255,255,255,.15);

    border-radius: 10px;
}


/* RESULT CARD */

#ragoJpgCompressor .rjc-result-card {

    min-height: 108px;

    display: flex;

    gap: 11px;

    padding: 8px;

    border:
        1px solid rgba(0,153,255,.12);

    border-radius: 9px;

    background:
        rgba(3,20,32,.72);
}


#ragoJpgCompressor .rjc-result-preview {

    width: 178px;
    height: 91px;

    flex: 0 0 178px;

    overflow: hidden;

    border-radius: 7px;

    background: #04111b;
}


#ragoJpgCompressor .rjc-result-preview img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


#ragoJpgCompressor .rjc-result-info {

    min-width: 0;

    flex: 1;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


#ragoJpgCompressor .rjc-result-name {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #ffffff;

    font-size: 13px;
    font-weight: 650;
}


#ragoJpgCompressor .rjc-result-meta {

    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 6px;

    color: #b5c5d2;

    font-size: 10px;
}


#ragoJpgCompressor .rjc-result-meta strong {
    color: var(--rjc-green);
}


#ragoJpgCompressor .rjc-result-saving {

    align-self: flex-start;

    margin-top: 7px;

    padding: 5px 9px;

    border:
        1px solid rgba(0,229,160,.65);

    border-radius: 15px;

    color: var(--rjc-green);

    font-size: 10px;
    font-weight: 700;
}


#ragoJpgCompressor .rjc-result-preview-btn {

    align-self: flex-end;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(0,153,255,.24);

    border-radius: 7px;

    background:
        rgba(0,153,255,.06);

    color: #ffffff;

    font-size: 16px;
}


#ragoJpgCompressor .rjc-result-preview-btn:hover {

    background:
        rgba(0,153,255,.18);
}


/* EMPTY RESULTS */

#ragoJpgCompressor .rjc-empty-results {

    flex: 1;

    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #718697;

    font-size: 12px;

    border:
        1px dashed rgba(0,153,255,.18);

    border-radius: 10px;
}


/* RESULT ACTIONS */

#ragoJpgCompressor .rjc-result-actions {

    display: grid;

    grid-template-columns:
        1fr 1.45fr;

    gap: 9px;

    margin-top: 10px;
}


#ragoJpgCompressor .rjc-clear-button,
#ragoJpgCompressor .rjc-download-all {

    height: 45px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 650;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-clear-button {

    border:
        1px solid var(--rjc-red);

    background:
        rgba(255,49,85,.035);

    color: #ff3c60;
}


#ragoJpgCompressor .rjc-clear-button:hover {

    background:
        rgba(255,49,85,.11);
}


#ragoJpgCompressor .rjc-download-all {

    border:
        1px solid var(--rjc-blue);

    background:
        rgba(0,153,255,.07);

    color: #ffffff;
}


#ragoJpgCompressor .rjc-download-all:hover {

    background:
        rgba(0,153,255,.16);
}


/* =========================================================
   BOTTOM AREA
   ========================================================= */

#ragoJpgCompressor .rjc-bottom-area {

    display: grid;

    grid-template-columns:
        340px
        minmax(0, 1fr)
        438px;

    gap: 10px;

    padding: 10px 18px 14px;

    background:
        #05121d;
}


/* COMMON BOTTOM CARDS */

#ragoJpgCompressor .rjc-output-card,
#ragoJpgCompressor .rjc-summary-card,
#ragoJpgCompressor .rjc-share-card {

    min-height: 132px;

    padding: 14px 15px;

    border:
        1px solid rgba(0,153,255,.20);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            #092033,
            #071a28
        );
}


#ragoJpgCompressor .rjc-card-title {

    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}


#ragoJpgCompressor .rjc-card-title span {

    color: #879aaa;

    font-size: 10px;
    font-weight: 500;
}


/* OUTPUT */

#ragoJpgCompressor .rjc-format-switch {

    display: flex;

    overflow: hidden;

    width: 100%;

    border:
        1px solid rgba(0,153,255,.24);

    border-radius: 8px;
}


#ragoJpgCompressor .rjc-format-switch button {

    width: 50%;
    height: 45px;

    border: 0;

    background:
        rgba(0,153,255,.015);

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-format-switch button.active {

    background:
        linear-gradient(
            135deg,
            #118fff,
            #087ce8
        );

    color: #ffffff;
}


#ragoJpgCompressor .rjc-format-switch button:not(.active):hover {

    background:
        rgba(0,153,255,.08);
}


#ragoJpgCompressor .rjc-output-card p {

    margin: 8px 0 0;

    color: #8fa2b3;

    font-size: 10px;
}


/* =========================================================
   SUMMARY
   ========================================================= */

#ragoJpgCompressor .rjc-summary-grid {

    display: grid;

    grid-template-columns:
        100px
        repeat(4, 1fr);

    gap: 8px;

    align-items: center;
}


#ragoJpgCompressor .rjc-summary-main {

    display: flex;
    justify-content: center;
}


#ragoJpgCompressor .rjc-summary-ring {

    width: 80px;
    height: 80px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #0a1e2d 57%,
            transparent 58%
        ),
        conic-gradient(
            var(--rjc-green),
            #00c9ff,
            #1489ff,
            var(--rjc-green)
        );

    position: relative;
}


#ragoJpgCompressor .rjc-summary-ring::before {

    content: "";

    position: absolute;

    inset: 7px;

    border-radius: 50%;

    background:
        #0a1c2b;
}


#ragoJpgCompressor .rjc-summary-ring strong,
#ragoJpgCompressor .rjc-summary-ring span {

    position: relative;
    z-index: 1;
}


#ragoJpgCompressor .rjc-summary-ring strong {

    font-size: 18px;
    font-weight: 800;
}


#ragoJpgCompressor .rjc-summary-ring span {

    margin-top: 1px;

    color: #c3d0da;

    font-size: 9px;
}


#ragoJpgCompressor .rjc-summary-item {

    min-width: 0;

    min-height: 75px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(0,153,255,.15);

    border-radius: 8px;

    background:
        rgba(3,18,29,.48);

    text-align: center;
}


#ragoJpgCompressor .rjc-summary-item strong {

    color: #ffffff;

    font-size: 16px;
    font-weight: 750;
}


#ragoJpgCompressor .rjc-summary-item span {

    margin-top: 4px;

    color: #8195a6;

    font-size: 9px;
}


#ragoJpgCompressor .rjc-summary-item:nth-child(5) strong {

    color: var(--rjc-green);
}


/* =========================================================
   SHARE
   ========================================================= */

#ragoJpgCompressor .rjc-share-buttons {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 8px;
}


#ragoJpgCompressor .rjc-share-buttons button {

    min-width: 0;

    height: 68px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 5px;

    border:
        1px solid rgba(0,153,255,.18);

    border-radius: 9px;

    background:
        rgba(4,22,35,.7);

    color: #dbe7ef;

    font-size: 9px;

    transition: var(--rjc-transition);
}


#ragoJpgCompressor .rjc-share-buttons button::first-line {
    font-size: 14px;
}


#ragoJpgCompressor .rjc-share-buttons button:hover {

    border-color:
        rgba(0,153,255,.55);

    background:
        rgba(0,153,255,.10);

    transform: translateY(-1px);
}


/* =========================================================
   MODALS
   ========================================================= */

#ragoJpgCompressor .rjc-modal {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        rgba(0, 5, 10, .82);

    backdrop-filter:
        blur(10px);
}


#ragoJpgCompressor .rjc-modal-inner {

    position: relative;

    width: min(560px, 100%);

    padding: 24px;

    border:
        1px solid rgba(0,153,255,.35);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #0a2234,
            #071522
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,.60);
}


#ragoJpgCompressor .rjc-modal-inner h2 {

    margin: 0 0 17px;

    color: #ffffff;

    font-size: 19px;
}


#ragoJpgCompressor .rjc-modal-close {

    position: absolute;

    top: 12px;
    right: 12px;

    width: 35px;
    height: 35px;

    border: 0;

    border-radius: 8px;

    background:
        rgba(255,255,255,.06);

    color: #ffffff;

    font-size: 23px;
}


#ragoJpgCompressor .rjc-modal-close:hover {

    background:
        rgba(255,49,85,.12);

    color:
        #ff5570;
}


#ragoJpgCompressor #rjcCameraPreview {

    width: 100%;

    max-height: 65vh;

    display: block;

    border-radius: 10px;

    background: #02080d;

    object-fit: contain;
}


#ragoJpgCompressor #rjcCapturePhoto,
#ragoJpgCompressor #rjcLoadUrl {

    width: 100%;
    height: 45px;

    margin-top: 13px;

    border: 0;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #078fff,
            #1478ef
        );

    color: #ffffff;

    font-weight: 700;
}


#ragoJpgCompressor #rjcImageUrl {

    width: 100%;
    height: 45px;

    padding: 0 13px;

    border:
        1px solid rgba(0,153,255,.25);

    border-radius: 8px;

    outline: none;

    background:
        #061521;

    color: #ffffff;
}


#ragoJpgCompressor #rjcImageUrl:focus {

    border-color:
        var(--rjc-blue);

    box-shadow:
        0 0 0 3px rgba(0,153,255,.08);
}


#ragoJpgCompressor #rjcImageUrl::placeholder {
    color: #657b8d;
}


/* =========================================================
   STATUS
   ========================================================= */

#ragoJpgCompressor .rjc-status {

    position: fixed;

    left: 50%;

    bottom: 20px;

    z-index: 100000;

    transform:
        translateX(-50%);

    min-width: 240px;

    max-width: 90%;

    padding: 10px 15px;

    border:
        1px solid rgba(0,153,255,.25);

    border-radius: 9px;

    background:
        rgba(6,25,39,.96);

    color: #dce9f2;

    font-size: 12px;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(0,0,0,.40);

    pointer-events: none;
}


#ragoJpgCompressor .rjc-status:empty {
    display: none;
}


/* =========================================================
   RESPONSIVE — 1300
   ========================================================= */

@media (max-width: 1300px) {

    #ragoJpgCompressor .rjc-workspace {

        grid-template-columns:
            300px
            minmax(0, 1fr)
            390px;
    }


    #ragoJpgCompressor .rjc-bottom-area {

        grid-template-columns:
            300px
            minmax(0, 1fr)
            390px;
    }


    #ragoJpgCompressor .rjc-nav-item {

        padding: 0 11px;
    }


    #ragoJpgCompressor .rjc-search {
        width: 205px;
    }


    #ragoJpgCompressor .rjc-result-preview {

        width: 150px;
        flex-basis: 150px;
    }

}


/* =========================================================
   RESPONSIVE — 1100
   ========================================================= */

@media (max-width: 1100px) {

    #ragoJpgCompressor .rjc-header {

        padding-left: 20px;
        padding-right: 20px;
    }


    #ragoJpgCompressor .rjc-brand-logo {
        font-size: 25px;
    }


    #ragoJpgCompressor .rjc-nav-item span:last-child {
        display: none;
    }


    #ragoJpgCompressor .rjc-nav-item {
        padding: 0 13px;
    }


    #ragoJpgCompressor .rjc-workspace {

        grid-template-columns:
            260px
            minmax(0, 1fr)
            350px;
    }


    #ragoJpgCompressor .rjc-bottom-area {

        grid-template-columns:
            260px
            minmax(0, 1fr)
            350px;
    }


    #ragoJpgCompressor .rjc-result-preview {

        width: 125px;
        flex-basis: 125px;
    }


    #ragoJpgCompressor .rjc-primary-upload {
        min-width: 0;
    }


    #ragoJpgCompressor .rjc-secondary-upload {
        min-width: 0;
    }

}


/* =========================================================
   RESPONSIVE — 900
   ========================================================= */

@media (max-width: 900px) {

    #ragoJpgCompressor {

        overflow: visible;
    }


    #ragoJpgCompressor .rjc-header {

        height: auto;

        min-height: 65px;

        flex-wrap: wrap;

        padding: 10px 15px;
    }


    #ragoJpgCompressor .rjc-nav {

        order: 3;

        width: 100%;

        overflow-x: auto;
    }


    #ragoJpgCompressor .rjc-nav-item span:last-child {
        display: inline;
    }


    #ragoJpgCompressor .rjc-search {
        width: 180px;
    }


    #ragoJpgCompressor .rjc-workspace {

        grid-template-columns:
            240px
            minmax(0, 1fr);
    }


    #ragoJpgCompressor .rjc-right-panel {

        grid-column: 1 / -1;

        min-height: 600px;
    }


    #ragoJpgCompressor .rjc-bottom-area {

        grid-template-columns:
            1fr 1fr;
    }


    #ragoJpgCompressor .rjc-share-card {

        grid-column: 1 / -1;
    }

}


/* =========================================================
   RESPONSIVE — 768
   ========================================================= */

@media (max-width: 768px) {

    #ragoJpgCompressor .rjc-header {

        gap: 10px;
    }


    #ragoJpgCompressor .rjc-brand-logo {
        font-size: 22px;
    }


    #ragoJpgCompressor .rjc-header-actions {
        margin-left: auto;
    }


    #ragoJpgCompressor .rjc-search {
        display: none;
    }


    #ragoJpgCompressor .rjc-workspace {

        display: flex;
        flex-direction: column;

        padding: 10px;
    }


    #ragoJpgCompressor .rjc-left-panel {

        min-height: 400px;
    }


    #ragoJpgCompressor .rjc-center-panel {
        padding-top: 0;
    }


    #ragoJpgCompressor .rjc-tool-heading {
        padding-left: 0;
        padding-right: 0;
    }


    #ragoJpgCompressor .rjc-title-row h1 {
        font-size: 25px;
    }


    #ragoJpgCompressor .rjc-upload-buttons {

        width: 100%;

        flex-direction: column;
    }


    #ragoJpgCompressor .rjc-primary-upload,
    #ragoJpgCompressor .rjc-secondary-upload {

        width: 100%;
    }


    #ragoJpgCompressor .rjc-slider-row {

        grid-template-columns: 1fr;
    }


    #ragoJpgCompressor .rjc-reduction-card {

        width: 100%;
    }


    #ragoJpgCompressor .rjc-options-grid {

        grid-template-columns: 1fr;
    }


    #ragoJpgCompressor .rjc-bottom-area {

        display: flex;
        flex-direction: column;

        padding: 10px;
    }


    #ragoJpgCompressor .rjc-summary-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    #ragoJpgCompressor .rjc-summary-main {

        grid-column: 1 / -1;
    }


    #ragoJpgCompressor .rjc-share-buttons {

        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   RESPONSIVE — 520
   ========================================================= */

@media (max-width: 520px) {

    #ragoJpgCompressor .rjc-header-actions {
        gap: 6px;
    }


    #ragoJpgCompressor .rjc-nav {

        gap: 2px;
    }


    #ragoJpgCompressor .rjc-nav-item {

        padding: 0 9px;

        font-size: 11px;
    }


    #ragoJpgCompressor .rjc-nav-icon {
        font-size: 16px;
    }


    #ragoJpgCompressor .rjc-tool-heading {

        align-items: flex-start;

        gap: 10px;
    }


    #ragoJpgCompressor .rjc-tool-icon {

        width: 55px;
        height: 55px;

        flex-basis: 55px;

        font-size: 28px;
    }


    #ragoJpgCompressor .rjc-title-row h1 {
        font-size: 21px;
    }


    #ragoJpgCompressor .rjc-private-badge {

        height: 30px;

        font-size: 10px;
    }


    #ragoJpgCompressor .rjc-upload-card {

        min-height: 270px;

        padding: 18px;
    }


    #ragoJpgCompressor .rjc-upload-card h2 {
        font-size: 18px;
    }


    #ragoJpgCompressor .rjc-result-card {

        flex-wrap: wrap;
    }


    #ragoJpgCompressor .rjc-result-preview {

        width: 100%;
        height: 150px;

        flex-basis: 100%;
    }


    #ragoJpgCompressor .rjc-result-info {
        padding: 5px;
    }


    #ragoJpgCompressor .rjc-result-preview-btn {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }


    #ragoJpgCompressor .rjc-share-buttons {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


























/* =========================================================
   SMART COMPRESSION VISUAL
   Futuristic JPG Compressor Animation
   ========================================================= */

#ragoJpgCompressor .rjc-smart-compression-visual {

    width: 100%;
    margin-top: 9px;
    padding: 12px 10px 13px;

    border: 1px solid rgba(0, 153, 255, .22);
    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 31, 48, .96),
            rgba(4, 19, 31, .96)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 25px rgba(0,0,0,.18);

    overflow: hidden;
}


/* HEADER */

#ragoJpgCompressor .rjc-smart-visual-header {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-bottom: 9px;

    color: #a9c6d9;

    font-size: 9px;
    font-weight: 650;

    letter-spacing: .25px;
}


#ragoJpgCompressor .rjc-smart-live-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #00e5a0;

    box-shadow:
        0 0 7px rgba(0,229,160,.8);

    animation:
        rjcSmartPulse 1.5s ease-in-out infinite;
}


/* MAIN FLOW */

#ragoJpgCompressor .rjc-smart-flow {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        45px
        105px
        45px
        minmax(0, 1fr);

    align-items: center;

    gap: 4px;
}


/* IMAGE BOX */

#ragoJpgCompressor .rjc-smart-image-box {

    min-width: 0;

    padding: 5px;

    border:
        1px solid rgba(0,153,255,.25);

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #0a2438,
            #061824
        );

    box-shadow:
        inset 0 0 14px rgba(0,153,255,.035);

    transition:
        border .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


#ragoJpgCompressor .rjc-smart-image-box:hover {

    border-color:
        rgba(0,190,255,.55);

    box-shadow:
        0 0 18px rgba(0,153,255,.10);
}


/* IMAGE LABEL */

#ragoJpgCompressor .rjc-smart-image-label {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 5px;

    margin-bottom: 4px;

    padding: 0 2px;

    font-size: 7px;
}


#ragoJpgCompressor .rjc-smart-image-label span {

    color: #d8e5ee;

    font-weight: 650;
}


#ragoJpgCompressor .rjc-smart-image-label strong {

    padding: 2px 5px;

    border-radius: 5px;

    color: #ffffff;

    background:
        rgba(0,153,255,.20);

    border:
        1px solid rgba(0,153,255,.28);

    font-size: 7px;
}


/* COMPRESSED SIZE */

#ragoJpgCompressor .rjc-smart-compressed
.rjc-smart-image-label strong {

    color: #00e5a0;

    border-color:
        rgba(0,229,160,.40);

    background:
        rgba(0,229,160,.07);

    box-shadow:
        0 0 8px rgba(0,229,160,.08);
}


/* IMAGE PREVIEW */

#ragoJpgCompressor .rjc-smart-image-preview {

    width: 100%;
    height: 67px;

    overflow: hidden;

    border-radius: 6px;

    background: #020b12;

    position: relative;
}


#ragoJpgCompressor .rjc-smart-image-preview::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 35%,
            rgba(255,255,255,.10) 50%,
            transparent 65%
        );

    transform:
        translateX(-120%);

    animation:
        rjcSmartShine 4s ease-in-out infinite;
}


#ragoJpgCompressor .rjc-smart-image-preview img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #020b12;
}


/* ARROWS */

#ragoJpgCompressor .rjc-smart-arrow {
    position: relative;
    top: -4px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    color: #00e5a0;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: 0;

    text-shadow:
        0 0 6px rgba(0,229,160,.95),
        0 0 14px rgba(0,229,160,.75),
        0 0 24px rgba(0,229,160,.45);

    filter:
        drop-shadow(0 0 5px rgba(0,229,160,.75))
        drop-shadow(0 0 10px rgba(0,229,160,.45));
}


#ragoJpgCompressor .rjc-smart-arrow-two {

    color: #168cff;

    text-shadow:
        0 0 9px rgba(22,140,255,.55);
}


/* PROCESSOR */

#ragoJpgCompressor .rjc-smart-processor {

    position: relative;

    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 4px 2px;
}


/* PROCESSOR ICON */

#ragoJpgCompressor .rjc-smart-processor-icon {

    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 4px;

    border-radius: 10px;

    border:
        1px solid rgba(0,190,255,.42);

    background:
        linear-gradient(
            145deg,
            #0b5d8a,
            #08324d
        );

    color: #00d8ff;

    font-size: 25px;

    box-shadow:
        0 0 16px rgba(0,153,255,.18),
        inset 0 0 15px rgba(0,216,255,.07);

    animation:
        rjcSmartProcessorFloat 2.2s ease-in-out infinite;
}


#ragoJpgCompressor .rjc-smart-processor-icon::before {

    content: "";

    position: absolute;

    inset: -5px;

    border:
        1px solid rgba(0,216,255,.20);

    border-radius: 13px;

    animation:
        rjcSmartProcessorRing 2s linear infinite;
}


/* PROCESSOR GLOW */

#ragoJpgCompressor .rjc-smart-processor-glow {

    position: absolute;

    width: 65px;
    height: 65px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,216,255,.16),
            transparent 70%
        );

    filter: blur(4px);

    pointer-events: none;
}


#ragoJpgCompressor .rjc-smart-processor-title {

    position: relative;

    color: #ffffff;

    font-size: 8px;

    font-weight: 750;

    white-space: nowrap;
}


#ragoJpgCompressor .rjc-smart-processor-subtitle {

    position: relative;

    margin-top: 2px;

    color: #00d8ff;

    font-size: 6.5px;

    white-space: nowrap;

    letter-spacing: .1px;
}


/* =========================================================
   ACTIVE COMPRESSION STATE
   JS later will add .is-compressing
   ========================================================= */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-processor-icon {

    animation:
        rjcSmartProcessing 0.65s ease-in-out infinite;
}


/* =========================================================
   ACTIVE COMPRESSION STATE
   ========================================================= */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #00e5a0;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow:
        0 0 8px rgba(0,229,160,.55),
        0 0 16px rgba(0,229,160,.20);
}


/* FLOWING >>> ARROWS */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-arrow span {
    display: inline-block;

    animation:
        rjcSmartArrowFlow .65s linear infinite;

    opacity: .15;
}


/* ARROW 1 */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-arrow span:nth-child(1) {
    animation-delay: 0s;
}


/* ARROW 2 */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-arrow span:nth-child(2) {
    animation-delay: .14s;
}


/* ARROW 3 */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-arrow span:nth-child(3) {
    animation-delay: .28s;
}


/* PROCESSOR */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-processing
.rjc-smart-processor-icon {
    animation:
        rjcSmartProcessing .65s ease-in-out infinite;
}


/* ARROW FLOW */

@keyframes rjcSmartArrowFlow {

    0% {
        opacity: .15;
        transform: translateX(-8px);
    }

    35% {
        opacity: 1;
        transform: translateX(0);
    }

    70% {
        opacity: .8;
        transform: translateX(5px);
    }

    100% {
        opacity: .15;
        transform: translateX(10px);
    }
}

    animation:
        rjcSmartArrowFlow .65s linear infinite;
}


#ragoJpgCompressor
.rjc-smart-compression-visual.is-compressing
.rjc-smart-arrow span:nth-child(2) {

    animation-delay: .12s;
}


#ragoJpgCompressor
.rjc-smart-compression-visual.is-compressing
.rjc-smart-arrow span:nth-child(3) {

    animation-delay: .24s;
}


/* COMPLETE STATE */

#ragoJpgCompressor
.rjc-smart-compression-visual.is-complete
.rjc-smart-compressed {

    border-color:
        rgba(0,229,160,.65);

    box-shadow:
        0 0 20px rgba(0,229,160,.10),
        inset 0 0 15px rgba(0,229,160,.035);

    animation:
        rjcSmartComplete .55s ease-out;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes rjcSmartPulse {

    0%,
    100% {
        opacity: .45;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}


@keyframes rjcSmartShine {

    0%,
    55% {
        transform: translateX(-120%);
    }

    75%,
    100% {
        transform: translateX(120%);
    }
}


@keyframes rjcSmartProcessorFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}


@keyframes rjcSmartProcessorRing {

    0% {
        transform: scale(.92);
        opacity: .8;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}


@keyframes rjcSmartProcessing {

    0% {
        transform: scale(.92) rotate(0deg);
        box-shadow:
            0 0 10px rgba(0,153,255,.15);
    }

    50% {
        transform: scale(1.08) rotate(3deg);
        box-shadow:
            0 0 28px rgba(0,216,255,.38);
    }

    100% {
        transform: scale(.92) rotate(0deg);
        box-shadow:
            0 0 10px rgba(0,153,255,.15);
    }
}


@keyframes rjcSmartArrowFlow {

    0% {
        opacity: .25;
        transform: translateX(-5px);
    }

    50% {
        opacity: 1;
        transform: translateX(2px);
    }

    100% {
        opacity: .25;
        transform: translateX(7px);
    }
}


@keyframes rjcSmartComplete {

    0% {
        transform: scale(.96);
        opacity: .65;
    }

    60% {
        transform: scale(1.025);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    #ragoJpgCompressor .rjc-smart-flow {

        grid-template-columns:
            minmax(0, 1fr)
            30px
            82px
            30px
            minmax(0, 1fr);
    }

    #ragoJpgCompressor .rjc-smart-image-preview {
        height: 58px;
    }

    #ragoJpgCompressor .rjc-smart-processor-icon {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }
}


@media (max-width: 900px) {

    #ragoJpgCompressor .rjc-smart-compression-visual {
        display: none;
    }

}




















/* =========================================================
   RAGO JPG COMPRESSOR
   RESULT CARD — REFERENCE LAYOUT
   ========================================================= */

#ragoJpgCompressor .rjc-result-card {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(125px, 1fr);
    grid-template-rows: auto auto;

    column-gap: 12px;
    row-gap: 7px;

    width: 100%;
    min-height: 105px;

    padding: 10px;

    box-sizing: border-box;

    border: 1px solid rgba(55, 160, 220, 0.16);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 31, 48, 0.96),
            rgba(5, 23, 38, 0.96)
        );

    overflow: hidden;
}


/* ---------------------------------------------------------
   Preview
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-result-preview {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 100%;
    height: 86px;

    min-width: 0;

    overflow: hidden;

    border-radius: 7px;

    background: #071521;

    border: 1px solid rgba(80, 170, 230, 0.12);
}


#ragoJpgCompressor .rjc-result-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ---------------------------------------------------------
   Result information
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-result-info {
    grid-column: 2;
    grid-row: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    gap: 4px;
}


#ragoJpgCompressor .rjc-result-name {
    width: 100%;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.25;
}


#ragoJpgCompressor .rjc-result-meta {
    display: flex;

    align-items: center;

    gap: 5px;

    white-space: nowrap;

    font-size: 9px;

    color: #9db4c8;
}


#ragoJpgCompressor .rjc-result-meta strong {
    color: #ffffff;

    font-weight: 700;
}


#ragoJpgCompressor .rjc-result-meta i {
    font-size: 8px;

    color: #4d9ed4;
}


/* ---------------------------------------------------------
   Green saved badge
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-result-saving {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    width: fit-content;

    padding: 3px 7px;

    margin-top: 1px;

    border: 1px solid rgba(0, 255, 180, 0.65);

    border-radius: 20px;

    background: rgba(0, 255, 180, 0.06);

    color: #00e8a5;

    font-size: 8px;
    font-weight: 700;

    line-height: 1;
}




















/* ---------------------------------------------------------
   Actions
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-result-actions {
    grid-column: 2;
    grid-row: 2;

    display: flex;

    align-items: center;

    gap: 20px;

    width: 100%;

    margin: 20px 0 0;
}





#ragoJpgCompressor .rjc-result-actions {
    position: relative;
    left: 75px;
}







/* MOBILE ONLY — RESET BUTTON POSITION */

@media (max-width: 600px) {
    #ragoJpgCompressor .rjc-result-actions {
        left: 0 !important;
    }
}






















#ragoJpgCompressor .rjc-result-download-btn {
    flex: 1;

    min-width: 0;

    height: 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 0 10px;

    border: 1px solid rgba(30, 157, 255, 0.45);

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #1299ee,
            #0877dc
        );

    color: #ffffff;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 4px 12px rgba(0, 125, 255, 0.18);

    cursor: pointer;

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}


#ragoJpgCompressor .rjc-result-download-btn i {
    font-size: 10px;
}


#ragoJpgCompressor .rjc-result-download-btn:hover {
    transform: translateY(-1px);

    filter: brightness(1.08);

    box-shadow:
        0 7px 16px rgba(0, 125, 255, 0.28);
}
















/* ---------------------------------------------------------
   Three-dot menu button
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-result-preview-btn {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(110, 180, 230, 0.22);

    border-radius: 6px;

    background: rgba(9, 29, 45, 0.95);

    color: #a9bfd0;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}


/* Hide existing eye icon */

#ragoJpgCompressor .rjc-result-preview-btn i {
    display: none;
}


/* Replace eye with vertical dots */

#ragoJpgCompressor .rjc-result-preview-btn::after {
    content: "⋮";

    display: block;

    font-size: 18px;

    line-height: 1;

    color: #c4d5e2;
}


#ragoJpgCompressor .rjc-result-preview-btn:hover {
    background: rgba(18, 87, 130, 0.55);

    border-color:
        rgba(40, 170, 255, 0.55);

    color: #ffffff;
}


/* ---------------------------------------------------------
   Empty result area
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-empty-results {
    width: 100%;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 700px) {

    #ragoJpgCompressor .rjc-result-card {
        grid-template-columns:
            minmax(120px, 1fr)
            minmax(105px, 1fr);

        column-gap: 8px;

        padding: 8px;
    }

    #ragoJpgCompressor .rjc-result-preview {
        height: 78px;
    }

    #ragoJpgCompressor .rjc-result-download-btn {
        font-size: 8px;

        padding: 0 7px;
    }

}



























/* =========================================================
   SMART COMPRESSION MONITOR — FULL IMAGE FIT
   ========================================================= */

#ragoJpgCompressor .rjc-smart-image-preview {
    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 100% !important;
}


#ragoJpgCompressor .rjc-smart-image-preview img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
}


/* Keep both monitor image boxes equal */

#ragoJpgCompressor .rjc-smart-original,
#ragoJpgCompressor .rjc-smart-compressed {
    overflow: hidden !important;
}


/* Prevent monitor from stretching */

#ragoJpgCompressor .rjc-smart-flow {
    align-items: center !important;
}











/* =========================================================
   ESTIMATED SIZE → COMPRESS BUTTON GAP
   ========================================================= */

#rjcSizeReduction {
    margin-bottom: 12px;
}




























/* =========================================================
   RAGO JPG COMPRESSOR
   FINAL SLIM METALLIC FUTURISTIC SLIDER
   ========================================================= */

/* ---------- SLIDER ROW ---------- */

.rjc-slider-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 88px !important;
    gap: 14px !important;
    align-items: center !important;
    margin-top: 10px !important;
}

/* ---------- SLIDER CONTAINER ---------- */

.rjc-slider-container {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 5px 0 !important;
    box-sizing: border-box !important;
}


/* =========================================================
   SLIM ROPE / BRAIDED TRACK
   ========================================================= */

#rjcCompressionSlider {
    width: 100% !important;
    height: 12px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    display: block !important;
    outline: none !important;

    border: 2px solid rgba(0, 224, 255, 0.95) !important;
    border-radius: 999px !important;

    background:

        /* Glossy highlight */
        linear-gradient(
            180deg,
            rgba(255,255,255,0.22) 0%,
            rgba(255,255,255,0.06) 25%,
            rgba(255,255,255,0) 55%,
            rgba(0,0,0,0.10) 100%
        ),

        /* Braided / rope texture */
        repeating-linear-gradient(
            125deg,
            transparent 0px,
            transparent 20px,

            rgba(3,12,24,0.92) 21px,
            rgba(3,12,24,0.92) 25px,

            transparent 26px,
            transparent 42px
        ),

        /* Cyan → Blue → Purple */
        linear-gradient(
            90deg,
            #18f0c5 0%,
            #08e5d7 15%,
            #00cfe8 29%,
            #078fff 45%,
            #315cff 59%,
            #7138ef 77%,
            #c04cff 91%,
            #df59ff 100%
        ) !important;

    box-shadow:
        0 0 5px rgba(24,240,197,0.75),
        0 0 13px rgba(0,170,255,0.42),
        inset 0 2px 3px rgba(255,255,255,0.18),
        inset 0 -2px 3px rgba(0,0,0,0.40) !important;

    cursor: pointer !important;
}


/* =========================================================
   CHROME / EDGE / SAFARI
   ========================================================= */

#rjcCompressionSlider::-webkit-slider-runnable-track {
    height: 9px !important;
    border-radius: 999px !important;

    background:

        /* Glossy highlight */
        linear-gradient(
            180deg,
            rgba(255,255,255,0.22) 0%,
            rgba(255,255,255,0.06) 25%,
            rgba(255,255,255,0) 55%,
            rgba(0,0,0,0.10) 100%
        ),

        /* Rope / braided lines */
        repeating-linear-gradient(
            125deg,
            transparent 0px,
            transparent 20px,

            rgba(3,12,24,0.92) 21px,
            rgba(3,12,24,0.92) 25px,

            transparent 26px,
            transparent 42px
        ),

        /* Cyan → Blue → Purple */
        linear-gradient(
            90deg,
            #18f0c5 0%,
            #08e5d7 15%,
            #00cfe8 29%,
            #078fff 45%,
            #315cff 59%,
            #7138ef 77%,
            #c04cff 91%,
            #df59ff 100%
        ) !important;
}


/* =========================================================
   METALLIC SHINY KNOB
   ========================================================= */

#rjcCompressionSlider::-webkit-slider-thumb {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 58px !important;
    height: 58px !important;

    margin-top: -23px !important;

    border-radius: 50% !important;
    border: 3px solid #1697ff !important;

    background:
        radial-gradient(
            circle at 28% 23%,

            #ffffff 0%,
            #ffffff 5%,

            #eef3f7 11%,
            #c9d2dc 20%,

            #8795a4 31%,
            #435263 43%,

            #111d2b 53%,

            #536474 63%,
            #aeb9c5 72%,

            #f0f4f7 78%,

            #657586 87%,
            #1a2939 100%
        ) !important;

    box-shadow:

        /* Blue outer ring */
        0 0 0 4px rgba(0,137,255,0.18),

        /* Neon glow */
        0 0 10px rgba(0,176,255,0.95),
        0 0 23px rgba(0,120,255,0.55),

        /* Metallic depth */
        inset 4px 4px 7px rgba(255,255,255,0.30),
        inset -5px -5px 9px rgba(0,0,0,0.60),

        /* Drop shadow */
        0 5px 13px rgba(0,0,0,0.72) !important;

    cursor: grab !important;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease !important;
}


/* ---------- SHINY HOVER ---------- */

#rjcCompressionSlider::-webkit-slider-thumb:hover {
    transform: scale(1.06) !important;

    box-shadow:
        0 0 0 5px rgba(0,145,255,0.20),
        0 0 14px rgba(0,205,255,1),
        0 0 30px rgba(0,120,255,0.62),
        inset 4px 4px 8px rgba(255,255,255,0.38),
        inset -5px -5px 10px rgba(0,0,0,0.65),
        0 6px 15px rgba(0,0,0,0.75) !important;
}


#rjcCompressionSlider::-webkit-slider-thumb:active {
    cursor: grabbing !important;
    transform: scale(1.02) !important;
}


/* =========================================================
   FIREFOX
   ========================================================= */

#rjcCompressionSlider::-moz-range-track {
    height: 9px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background:

        /* Glossy highlight */
        linear-gradient(
            180deg,
            rgba(255,255,255,0.22) 0%,
            rgba(255,255,255,0.06) 25%,
            rgba(255,255,255,0) 55%,
            rgba(0,0,0,0.10) 100%
        ),

        /* Rope / braided lines */
        repeating-linear-gradient(
            125deg,
            transparent 0px,
            transparent 20px,

            rgba(3,12,24,0.92) 21px,
            rgba(3,12,24,0.92) 25px,

            transparent 26px,
            transparent 42px
        ),

        /* Cyan → Blue → Purple */
        linear-gradient(
            90deg,
            #18f0c5 0%,
            #08e5d7 15%,
            #00cfe8 29%,
            #078fff 45%,
            #315cff 59%,
            #7138ef 77%,
            #c04cff 91%,
            #df59ff 100%
        ) !important;
}


#rjcCompressionSlider::-moz-range-thumb {
    width: 58px !important;
    height: 58px !important;

    border-radius: 50% !important;
    border: 3px solid #1697ff !important;

    background:
        radial-gradient(
            circle at 28% 23%,

            #ffffff 0%,
            #ffffff 5%,
            #eef3f7 11%,
            #c9d2dc 20%,
            #8795a4 31%,
            #435263 43%,
            #111d2b 53%,
            #536474 63%,
            #aeb9c5 72%,
            #f0f4f7 78%,
            #657586 87%,
            #1a2939 100%
        ) !important;

    box-shadow:
        0 0 0 4px rgba(0,137,255,0.18),
        0 0 10px rgba(0,176,255,0.95),
        0 0 23px rgba(0,120,255,0.55),
        inset 4px 4px 7px rgba(255,255,255,0.30),
        inset -5px -5px 9px rgba(0,0,0,0.60),
        0 5px 13px rgba(0,0,0,0.72) !important;
}


/* =========================================================
   LABELS
   ========================================================= */

.rjc-slider-markers {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;

    width: 100% !important;

    margin-top: 22px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


.rjc-slider-marker {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}


.rjc-slider-marker strong {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}


.rjc-slider-marker span {
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}


/* ---------- LEFT ---------- */

.rjc-slider-marker-left {
    align-items: flex-start !important;
    text-align: left !important;
}


.rjc-slider-marker-left strong {
    color: #08e7f1 !important;
    text-shadow:
        0 0 9px rgba(0,225,255,0.38) !important;
}


.rjc-slider-marker-left span {
    color: #00c8ed !important;
}


/* ---------- CENTER ---------- */

.rjc-slider-marker-center {
    align-items: center !important;
    text-align: center !important;
}


.rjc-slider-marker-center strong {
    color: #f4f7ff !important;
    text-shadow:
        0 0 8px rgba(255,255,255,0.18) !important;
}


/* ---------- RIGHT ---------- */

.rjc-slider-marker-right {
    align-items: flex-end !important;
    text-align: right !important;
}


.rjc-slider-marker-right strong {
    color: #a878ff !important;
    text-shadow:
        0 0 10px rgba(155,75,255,0.40) !important;
}


.rjc-slider-marker-right span {
    color: #9878e8 !important;
}


/* =========================================================
   VALUE BADGE
   ========================================================= */

#rjcCompressionValue {
    transform: none !important;

    min-width: 76px !important;
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #00ddff !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            145deg,
            #1268dd 0%,
            #092f8f 100%
        ) !important;

    color: #ffffff !important;

    font-size: 20px !important;
    font-weight: 800 !important;

    box-shadow:
        0 0 10px rgba(0,183,255,0.42),
        0 0 20px rgba(0,115,255,0.20),
        inset 0 1px 0 rgba(255,255,255,0.18) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .rjc-slider-row {
        grid-template-columns: minmax(0, 1fr) 72px !important;
        gap: 9px !important;
    }


    .rjc-slider-container {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }


    #rjcCompressionSlider {
        height: 15px !important;
    }


    #rjcCompressionSlider::-webkit-slider-runnable-track,
    #rjcCompressionSlider::-moz-range-track {
        height: 11px !important;
    }


    #rjcCompressionSlider::-webkit-slider-thumb {
        width: 48px !important;
        height: 48px !important;
        margin-top: -19px !important;
    }


    #rjcCompressionSlider::-moz-range-thumb {
        width: 48px !important;
        height: 48px !important;
    }


    .rjc-slider-markers {
        margin-top: 18px !important;
    }


    .rjc-slider-marker strong {
        font-size: 12px !important;
    }


    .rjc-slider-marker span {
        font-size: 9px !important;
    }
}













/* =========================================================
   COMPRESSION VALUE BOX — MOVE DOWN ONLY
   ========================================================= */

#rjcCompressionValue {
    transform: translateY(60px) !important;
}










/* =========================================================
   METALLIC KNOB — SLIGHTLY SMALLER
   ========================================================= */

#rjcCompressionSlider::-webkit-slider-thumb {
    width: 50px !important;
    height: 50px !important;
    margin-top: -19px !important;
}

#rjcCompressionSlider::-moz-range-thumb {
    width: 50px !important;
    height: 50px !important;
}


















/* =========================================================
   COMPRESSION HEADING — SINGLE LINE
   ========================================================= */

.rjc-compression-heading-line {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.rjc-compression-heading-line h2 {
    margin: 0 !important;
}

.rjc-compression-heading-line p {
    margin: 0 !important;
}




















/* =========================================================
   RAGO JPG COMPRESSOR
   FINAL — ESTIMATED OUTPUT SIZE HUD
   CLEAN / NO DUPLICATES
   ========================================================= */

.rjc-reduction-card {
    position: relative !important;

    height: 88px !important;
    min-height: 88px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    isolation: isolate !important;

    border: 1px solid rgba(0, 225, 255, 0.85) !important;
    border-radius: 15px !important;

    background:
        linear-gradient(
            90deg,
            rgba(0, 214, 255, 0.07),
            rgba(0, 110, 255, 0.035) 48%,
            rgba(184, 58, 255, 0.08)
        ),
        linear-gradient(
            135deg,
            #041d30,
            #061322 55%,
            #11102d
        ) !important;

    box-shadow:
        0 0 7px rgba(0, 220, 255, 0.45),
        0 0 18px rgba(0, 150, 255, 0.20),
        0 0 28px rgba(150, 50, 255, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset 0 -2px 5px rgba(0,0,0,0.55) !important;
}


/* =========================================================
   CYAN → BLUE → PURPLE NEON FRAME
   ========================================================= */

.rjc-reduction-card::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    border-radius: inherit !important;
    pointer-events: none !important;

    padding: 1px !important;

    background:
        linear-gradient(
            90deg,
            #00f0ff 0%,
            #00aaff 35%,
            #365dff 58%,
            #9b45ff 82%,
            #df4cff 100%
        ) !important;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0) !important;

    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;

    opacity: 0.95 !important;
}


/* =========================================================
   ESTIMATED SIZE LABEL
   ========================================================= */

.rjc-reduction-card span {
    position: absolute !important;

    top: 10px !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    z-index: 5 !important;

    margin: 0 !important;

    color: #8cefff !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    letter-spacing: 2.4px !important;
    text-transform: uppercase !important;

    white-space: nowrap !important;

    text-shadow:
        0 0 7px rgba(0,220,255,0.55) !important;
}


/* =========================================================
   LARGE ESTIMATED SIZE
   ========================================================= */

.rjc-reduction-card strong {
    position: relative !important;

    z-index: 6 !important;

    margin: 13px 0 0 !important;
    padding: 0 !important;

    color: #f7fcff !important;

    font-size: 42px !important;
    font-weight: 900 !important;

    line-height: 1 !important;

    letter-spacing: 0.4px !important;

    text-align: center !important;
    white-space: nowrap !important;

    text-shadow:
        0 0 5px rgba(255,255,255,0.55),
        0 0 12px rgba(0,190,255,0.65),
        0 0 24px rgba(0,120,255,0.40),
        0 0 36px rgba(145,55,255,0.25) !important;
}


/* =========================================================
   FUTURISTIC SIDE ACCENTS
   ========================================================= */

.rjc-reduction-card::after {
    content: "‹‹          ››" !important;

    position: absolute !important;

    left: 28px !important;
    right: 28px !important;
    bottom: 5px !important;

    z-index: 2 !important;

    color: rgba(0,210,255,0.45) !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    letter-spacing: 8px !important;

    text-align: center !important;

    pointer-events: none !important;

    text-shadow:
        0 0 8px rgba(0,200,255,0.40) !important;
}


/* =========================================================
   INNER NEON LINE
   ========================================================= */

.rjc-reduction-card strong::before {
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    bottom: -15px !important;

    width: 180px !important;
    height: 1px !important;

    transform: translateX(-50%) !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #00eaff,
            #8c4dff,
            transparent
        ) !important;

    box-shadow:
        0 0 7px rgba(0,220,255,0.75) !important;

    opacity: 0.75 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .rjc-reduction-card {
        height: 78px !important;
        min-height: 78px !important;
        border-radius: 12px !important;
    }

    .rjc-reduction-card strong {
        font-size: 30px !important;
    }

    .rjc-reduction-card span {
        top: 8px !important;

        font-size: 8px !important;
        letter-spacing: 1.8px !important;
    }
}



/* =========================================================
   ESTIMATED SIZE — COMPACT NUMBER
   ========================================================= */

.rjc-reduction-card strong {
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}













/* =========================================================
   FIX — KB STAYS INSIDE THE SIZE NUMBER
   ========================================================= */

/* Estimated Size label only */
.rjc-reduction-card > span {
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    font-size: 9px !important;
    letter-spacing: 2.4px !important;
}


/* KB / MB / GB unit inside the number */
.rjc-reduction-card strong .rjc-size-unit {
    position: static !important;

    display: inline !important;

    transform: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;

    color: #c45cff !important;

    letter-spacing: inherit !important;

    text-shadow:
        0 0 6px rgba(196, 92, 255, 0.80),
        0 0 14px rgba(145, 55, 255, 0.45) !important;
}




























/* =========================================================
   RAGO JPG COMPRESSOR
   FUTURISTIC COMPRESS BUTTON
   ========================================================= */

#rjcCompressButton {
    position: relative !important;

    height: 80px !important;
    min-height: 80px !important;

    overflow: hidden !important;

    border: 1px solid transparent !important;
    border-radius: 15px !important;

    background:
        linear-gradient(
            90deg,
            #079edc 0%,
            #087ff0 35%,
            #354cff 62%,
            #9b20ff 100%
        ) !important;

    box-shadow:
        0 0 8px rgba(0, 190, 255, 0.35),
        0 0 20px rgba(40, 100, 255, 0.22),
        0 0 30px rgba(150, 40, 255, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -3px 8px rgba(0,0,0,0.22) !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease !important;
}


/* =========================================================
   FUTURISTIC INNER FRAME
   ========================================================= */

#rjcCompressButton::before {
    content: "" !important;

    position: absolute !important;
    inset: 5px !important;

    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 11px !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(0,255,255,0.06),
            transparent 40%,
            rgba(190,70,255,0.08)
        ) !important;
}


/* =========================================================
   TECH LIGHT LINE
   ========================================================= */

#rjcCompressButton::after {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 8% !important;
    right: 8% !important;

    height: 2px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,245,255,0.9),
            rgba(255,255,255,0.9),
            rgba(190,80,255,0.9),
            transparent
        ) !important;

    box-shadow:
        0 0 8px rgba(0,225,255,0.7),
        0 0 14px rgba(160,70,255,0.35) !important;

    pointer-events: none !important;
}


/* =========================================================
   BUTTON CONTENT
   ========================================================= */

#rjcCompressButton > span:first-child {
    position: relative !important;
    z-index: 3 !important;

    color: #ffffff !important;

    font-size: 27px !important;

    text-shadow:
        0 0 8px rgba(255,255,255,0.8),
        0 0 16px rgba(0,220,255,0.65) !important;
}


#rjcCompressButton {
    color: #ffffff !important;

    font-size: 18px !important;
    font-weight: 800 !important;

    letter-spacing: 0.2px !important;

    text-shadow:
        0 0 7px rgba(255,255,255,0.45),
        0 0 14px rgba(0,150,255,0.25) !important;
}


/* RIGHT ARROW */

#rjcCompressButton > span:last-child {
    position: relative !important;
    z-index: 3 !important;

    color: #ffffff !important;

    font-size: 28px !important;
    font-weight: 700 !important;

    text-shadow:
        0 0 8px rgba(255,255,255,0.8),
        0 0 15px rgba(180,70,255,0.7) !important;
}


/* =========================================================
   HOVER
   ========================================================= */

#rjcCompressButton:hover {
    transform: translateY(-1px) !important;

    filter: brightness(1.08) !important;

    box-shadow:
        0 0 10px rgba(0,220,255,0.55),
        0 0 24px rgba(0,140,255,0.32),
        0 0 38px rgba(170,50,255,0.24),
        inset 0 1px 0 rgba(255,255,255,0.28) !important;
}


/* =========================================================
   ACTIVE / CLICK
   ========================================================= */

#rjcCompressButton:active {
    transform: translateY(1px) scale(0.995) !important;

    filter: brightness(0.96) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #rjcCompressButton {
        height: 68px !important;
        min-height: 68px !important;

        font-size: 16px !important;
    }

    #rjcCompressButton > span:first-child {
        font-size: 23px !important;
    }

    #rjcCompressButton > span:last-child {
        font-size: 24px !important;
    }
}


















/* =========================================================
   COMPRESS BUTTON — CENTER LOADING TEXT
   ========================================================= */

#rjcCompressButton {
    position: relative !important;
    text-align: center !important;
}


/* Loading / processing state */
#rjcCompressButton:disabled {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
}


/* Center whatever text/content remains during compression */
#rjcCompressButton:disabled > * {
    position: static !important;
    transform: none !important;
}


/* If loading text is directly inside the button */
#rjcCompressButton:disabled {
    color: #ffffff !important;
}













/* =========================================================
   RAGO JPG COMPRESSOR
   FUTURISTIC "COMPRESSING..." STATE
   ========================================================= */

/* Processing button */
#rjcCompressButton:disabled {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    color: #dffcff !important;

    background:
        linear-gradient(
            90deg,
            #087ea9 0%,
            #087fd4 28%,
            #344dff 58%,
            #7627dc 100%
        ) !important;

    box-shadow:
        0 0 8px rgba(0,210,255,0.45),
        0 0 18px rgba(0,130,255,0.28),
        0 0 28px rgba(155,50,255,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18) !important;

    cursor: wait !important;

    overflow: hidden !important;
}


/* =========================================================
   SCANNING LIGHT
   ========================================================= */

#rjcCompressButton:disabled::after {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    bottom: 0 !important;

    left: -35% !important;
    width: 28% !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            rgba(0,240,255,0.42),
            rgba(255,255,255,0.12),
            transparent
        ) !important;

    filter: blur(2px) !important;

    transform: skewX(-18deg) !important;

    animation:
        rjcCompressScan 1.8s linear infinite !important;

    pointer-events: none !important;

    z-index: 2 !important;
}


@keyframes rjcCompressScan {

    0% {
        left: -35%;
    }

    100% {
        left: 115%;
    }

}


/* =========================================================
   COMPRESSING TEXT
   ========================================================= */

#rjcCompressButton:disabled {
    font-size: 18px !important;
    font-weight: 800 !important;

    letter-spacing: 0.8px !important;

    text-shadow:
        0 0 5px rgba(255,255,255,0.75),
        0 0 12px rgba(0,220,255,0.65),
        0 0 22px rgba(80,100,255,0.35) !important;
}


/* =========================================================
   LOADING CONTENT STAYS ABOVE SCAN
   ========================================================= */

#rjcCompressButton:disabled > * {
    position: relative !important;

    z-index: 4 !important;

    transform: none !important;
}


/* =========================================================
   SUBTLE PROCESSING PULSE
   ========================================================= */

#rjcCompressButton:disabled {
    animation:
        rjcCompressPulse 2s ease-in-out infinite !important;
}


@keyframes rjcCompressPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.08);
    }

}


/* =========================================================
   KEEP TEXT PERFECTLY CENTERED
   ========================================================= */

#rjcCompressButton:disabled {
    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #rjcCompressButton:disabled {
        font-size: 16px !important;
        letter-spacing: 0.6px !important;
    }

}



















/* =========================================================
   RAGO JPG COMPRESSOR
   FUTURISTIC SUCCESS POPUP
   ========================================================= */

.rjc-compression-success-popup {
    position: fixed !important;

    left: 50% !important;
    top: 50% !important;

    transform:
        translate(-50%, -50%)
        scale(0.88) !important;

    z-index: 999999 !important;

    width: min(430px, calc(100vw - 40px)) !important;

    padding: 2px !important;

    border-radius: 18px !important;

    opacity: 0 !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            90deg,
            #00eaff 0%,
            #168cff 38%,
            #4c55ff 62%,
            #c03cff 100%
        ) !important;

    box-shadow:
        0 0 10px rgba(0,225,255,0.65),
        0 0 28px rgba(0,145,255,0.35),
        0 0 50px rgba(160,55,255,0.28) !important;

    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(.2,.8,.2,1) !important;
}


/* =========================================================
   POPUP VISIBLE
   ========================================================= */

.rjc-compression-success-popup.rjc-success-visible {
    opacity: 1 !important;

    transform:
        translate(-50%, -50%)
        scale(1) !important;
}


/* =========================================================
   POPUP FADE OUT
   ========================================================= */

.rjc-compression-success-popup.rjc-success-hide {
    opacity: 0 !important;

    transform:
        translate(-50%, -50%)
        scale(0.92) !important;
}


/* =========================================================
   INNER HUD PANEL
   ========================================================= */

.rjc-success-popup-inner {
    position: relative !important;

    display: flex !important;

    align-items: center !important;

    gap: 18px !important;

    min-height: 105px !important;

    padding: 20px 25px !important;

    overflow: hidden !important;

    border-radius: 16px !important;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(0,235,255,0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 50%,
            rgba(190,55,255,0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #061e31,
            #071526 52%,
            #15102e
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset 0 -2px 8px rgba(0,0,0,0.45) !important;
}


/* =========================================================
   TOP SCAN LINE
   ========================================================= */

.rjc-success-popup-inner::before {
    content: "" !important;

    position: absolute !important;

    top: 0 !important;
    left: 8% !important;
    right: 8% !important;

    height: 1px !important;

    background:
        linear-gradient(
            90deg,
            transparent,
            #00eaff,
            #ffffff,
            #c54cff,
            transparent
        ) !important;

    box-shadow:
        0 0 10px rgba(0,225,255,0.8) !important;
}


/* =========================================================
   SUCCESS ICON
   ========================================================= */

.rjc-success-icon {
    position: relative !important;

    flex: 0 0 58px !important;

    width: 58px !important;
    height: 58px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    border: 1px solid rgba(0,240,210,0.9) !important;

    border-radius: 50% !important;

    color: #7affdf !important;

    font-size: 28px !important;
    font-weight: 900 !important;

    background:
        radial-gradient(
            circle,
            rgba(0,240,210,0.20),
            rgba(0,100,100,0.08) 55%,
            transparent 70%
        ) !important;

    box-shadow:
        0 0 8px rgba(0,240,210,0.65),
        0 0 22px rgba(0,220,200,0.30),
        inset 0 0 12px rgba(0,255,220,0.12) !important;

    text-shadow:
        0 0 8px rgba(100,255,225,0.9) !important;
}


/* =========================================================
   SUCCESS CONTENT
   ========================================================= */

.rjc-success-content {
    position: relative !important;

    z-index: 2 !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 7px !important;
}


.rjc-success-content strong {
    color: #f5fbff !important;

    font-size: 21px !important;
    font-weight: 850 !important;

    line-height: 1.1 !important;

    letter-spacing: 0.2px !important;

    text-shadow:
        0 0 8px rgba(255,255,255,0.35),
        0 0 16px rgba(0,200,255,0.30) !important;
}


.rjc-success-content span {
    color: #7eefff !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    letter-spacing: 0.4px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .rjc-compression-success-popup {
        width: calc(100vw - 28px) !important;
    }

    .rjc-success-popup-inner {
        min-height: 90px !important;

        padding: 17px 18px !important;

        gap: 14px !important;
    }

    .rjc-success-icon {
        width: 50px !important;
        height: 50px !important;

        flex-basis: 50px !important;

        font-size: 24px !important;
    }

    .rjc-success-content strong {
        font-size: 18px !important;
    }

    .rjc-success-content span {
        font-size: 11px !important;
    }

}













/* =========================================================
   RAGO JPG COMPRESSOR
   HEADER — TOOL TITLE BLOCK
   ========================================================= */

#ragoJpgCompressor .rjc-header {
    display: grid;

    grid-template-columns:
        285px
        minmax(0, 1fr)
        150px;

    align-items: center;

    min-height: 82px;

    padding: 0 28px;

    column-gap: 20px;
}


/* =========================================================
   RAGO TOOLS LOGO AREA
   ========================================================= */

#ragoJpgCompressor .rjc-brand {
    display: flex;
    align-items: center;

    min-width: 0;
}


/* =========================================================
   JPG COMPRESSOR TITLE
   ========================================================= */

#ragoJpgCompressor .rjc-header .rjc-tool-heading {
    display: flex;

    align-items: center;

    min-width: 0;

    margin: 0;

    padding: 0;
}


/* ICON */

#ragoJpgCompressor .rjc-header .rjc-tool-icon {
    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 16px;

    border-radius: 0 0 14px 14px;

    background:
        linear-gradient(
            145deg,
            #ff315d,
            #ff174f
        );

    color: #ffffff;

    font-size: 29px;

    box-shadow:
        0 8px 24px rgba(255,35,85,.30);
}


/* TITLE TEXT */

#ragoJpgCompressor .rjc-header .rjc-tool-heading-text {
    min-width: 0;
}


/* TITLE + BADGE */

#ragoJpgCompressor .rjc-header .rjc-title-row {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;
}


/* JPG COMPRESSOR */

#ragoJpgCompressor .rjc-header .rjc-title-row h1 {
    margin: 0;

    color: #ffffff;

    font-size: 30px;

    font-weight: 800;

    line-height: 1.05;

    white-space: nowrap;
}


/* PRIVATE BADGE */

#ragoJpgCompressor .rjc-header .rjc-private-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 34px;

    padding: 0 12px;

    border: 1px solid rgba(0,153,255,.45);

    border-radius: 7px;

    background:
        rgba(0,153,255,.06);

    color: #ffffff;

    font-size: 11px;

    white-space: nowrap;

    box-shadow:
        0 0 12px rgba(0,153,255,.08);
}


/* DESCRIPTION */

#ragoJpgCompressor .rjc-header .rjc-tool-heading-text > p {
    margin: 7px 0 0;

    color: #d0dce6;

    font-size: 12px;

    line-height: 1.35;

    white-space: nowrap;
}


/* =========================================================
   HEADER NAV — HIDE BECAUSE TITLE MOVED INTO HEADER
   ========================================================= */

#ragoJpgCompressor .rjc-header .rjc-nav {
    display: none;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

#ragoJpgCompressor .rjc-header-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    min-width: 0;
}


/* SEARCH — HIDE */

#ragoJpgCompressor .rjc-header .rjc-search {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    #ragoJpgCompressor .rjc-header {

        grid-template-columns:
            220px
            minmax(0, 1fr)
            120px;

        padding: 0 18px;

        column-gap: 12px;
    }

    #ragoJpgCompressor .rjc-header .rjc-tool-icon {

        width: 52px;
        height: 52px;

        flex-basis: 52px;

        margin-right: 10px;

        font-size: 23px;
    }

    #ragoJpgCompressor .rjc-header .rjc-title-row h1 {

        font-size: 23px;
    }

    #ragoJpgCompressor .rjc-header .rjc-tool-heading-text > p {

        font-size: 10px;
    }
}


@media (max-width: 700px) {

    #ragoJpgCompressor .rjc-header {

        grid-template-columns:
            1fr
            auto;

        min-height: 72px;

        padding: 8px 14px;
    }

    #ragoJpgCompressor .rjc-header .rjc-brand {

        display: none;
    }

    #ragoJpgCompressor .rjc-header .rjc-title-row h1 {

        font-size: 20px;
    }

    #ragoJpgCompressor .rjc-header .rjc-private-badge {

        display: none;
    }

    #ragoJpgCompressor .rjc-header .rjc-tool-heading-text > p {

        display: none;
    }

    #ragoJpgCompressor .rjc-header .rjc-tool-icon {

        width: 46px;
        height: 46px;

        flex-basis: 46px;

        font-size: 20px;
    }
}

















/* =========================================================
   SUCCESS POPUP — MOVE DOWN
   ========================================================= */

.rjc-compression-success-popup {
    top: 75% !important;
    left: 47% !important;

    transform:
        translate(-50%, -50%)
        scale(0.88) !important;
}


/* Visible state */
.rjc-compression-success-popup.rjc-success-visible {
    transform:
        translate(-50%, -50%)
        scale(1) !important;
}


/* Fade-out */
.rjc-compression-success-popup.rjc-success-hide {
    transform:
        translate(-50%, -50%)
        scale(0.92) !important;
}


/* Mobile */
@media (max-width: 600px) {

    .rjc-compression-success-popup {
        top: 50% !important;
    }

}



@media (max-width: 600px) {

    .rjc-compression-success-popup {
        top: 50% !important;
        left: 50% !important;
    }

}













/* =========================================================
   COMPRESS BUTTON — FULL WIDTH FIX
   ========================================================= */

#ragoJpgCompressor #rjcCompressButton {

    width: 100% !important;

    min-width: 100% !important;

    max-width: 100% !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

}

























/* =========================================================
   MOBILE IMAGE BIN — DYNAMIC HEIGHT
   0 IMAGE → COMPACT
   IMAGES → PANEL GROWS
   MANY IMAGES → INTERNAL SCROLL
   DESKTOP UNCHANGED
   ========================================================= */

@media (max-width: 768px) {

    #ragoJpgCompressor .rjc-left-panel {

        height: auto !important;

        min-height: 0 !important;

        max-height: none !important;

    }


 #ragoJpgCompressor .rjc-image-bin {

    height: auto !important;

    flex: 0 0 auto !important;

    min-height: 0 !important;

    max-height: none !important;

    overflow-y: visible !important;

    overflow-x: hidden !important;

}

}

















/* =========================================================
   MOBILE PREVIEW & RESULTS — DYNAMIC HEIGHT
   0 RESULT → COMPACT
   RESULTS → PANEL GROWS
   MANY RESULTS → INTERNAL SCROLL
   DESKTOP UNCHANGED
   ========================================================= */

@media (max-width: 768px) {

    #ragoJpgCompressor .rjc-right-panel {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    #ragoJpgCompressor .rjc-results-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: 0 1 auto !important;
    }

    #ragoJpgCompressor .rjc-results-list {
        height: auto !important;
        flex: 0 1 auto !important;
        min-height: 0 !important;
        max-height: 500px !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

}
























/* =========================================================
   MOBILE COMPRESSION VALUE — FINAL POSITION
   ========================================================= */

@media (max-width: 600px) {

    /* Compression card becomes the real positioning parent */
    #ragoJpgCompressor .rjc-compression-card {
        position: relative !important;
    }

    /* Do not let heading create an oversized layout */
    #ragoJpgCompressor .rjc-section-heading {
        position: static !important;

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        padding-right: 72px !important;

        display: block !important;
    }

    #ragoJpgCompressor .rjc-compression-heading-line {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        display: flex !important;
        align-items: center !important;

        gap: 6px !important;

        overflow: hidden !important;
    }

    #ragoJpgCompressor .rjc-compression-heading-line h2 {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    #ragoJpgCompressor .rjc-compression-heading-line p {
        flex: 1 1 auto !important;
        min-width: 0 !important;

        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* THE BADGE */
    #ragoJpgCompressor #rjcCompressionValue {
        position: absolute !important;

        top: 10px !important;
        right: 8px !important;

        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;

        height: 42px !important;
        min-height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        z-index: 9999 !important;

        visibility: visible !important;
        opacity: 1 !important;

        font-size: 17px !important;
        line-height: 1 !important;
    }

}


















/* =========================================================
   MOBILE — SLIDER VALUE ABOVE SLIDER
   ========================================================= */

@media (max-width: 600px) {

    #ragoJpgCompressor .rjc-compression-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Heading */
    #ragoJpgCompressor .rjc-section-heading {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 8px !important;
    }

    #ragoJpgCompressor .rjc-compression-heading-line {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hide the old inline value position */
    #ragoJpgCompressor .rjc-section-heading #rjcCompressionValue {
        position: static !important;
        transform: none !important;
        margin: 0 0 8px auto !important;

        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;

        height: 36px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        font-size: 15px !important;
        line-height: 1 !important;
    }

    /* Slider row */
    #ragoJpgCompressor .rjc-slider-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    #ragoJpgCompressor .rjc-slider-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}










@media (max-width:768px) {

    #ragoJpgCompressor .rjc-left-panel {
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        overflow:visible !important;
        box-sizing:border-box !important;
    }

    #ragoJpgCompressor .rjc-image-bin {
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        flex:none !important;
        overflow:visible !important;
        box-sizing:border-box !important;
        padding-right:0 !important;
    }

}
























/* RAGO JPG — ACTUAL BADGE POSITION FIX */

@media (max-width: 600px) {

    #ragoJpgCompressor .rjc-compression-card {
        overflow: visible !important;
    }

    #ragoJpgCompressor .rjc-section-heading {
        position: relative !important;
        display: block !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 0 12px 0 !important;
        overflow: visible !important;
    }

    #ragoJpgCompressor .rjc-compression-heading-line {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 48px !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    #ragoJpgCompressor #rjcCompressionValue.rjc-value-badge {
        position: relative !important;
        top: 10px !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 38px !important;
        min-height: 38px !important;

        margin: 0 0 0 auto !important;
        padding: 0 !important;

        float: none !important;
        transform: none !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
    }

    #ragoJpgCompressor .rjc-slider-row {
        margin-top: 0 !important;
    }
}





















/* ---------------------------------------------------------
   FUTURISTIC CLOUD UPLOAD ICON
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-upload-icon {
    width: 100%;
    height: 100px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}

#ragoJpgCompressor .rjc-cloud-upload-svg {
    display: block;
    width: 120px;
    height: 100px;
    max-width: 100%;
    overflow: visible;
}

/* Mobile */

@media (max-width: 600px) {
    #ragoJpgCompressor .rjc-upload-icon {
        height: 90px;
        margin-bottom: 10px;
    }

    #ragoJpgCompressor .rjc-cloud-upload-svg {
        width: 110px;
        height: 90px;
    }
}






















/* ---------------------------------------------------------
   RAGO CLOUD UPLOAD — FUTURISTIC ANIMATION
   --------------------------------------------------------- */

#ragoJpgCompressor .rjc-cloud-upload-svg {
    transform-origin: center;
    animation: rjcCloudFloat 2.4s ease-in-out infinite;
    will-change: transform, filter;
}

#ragoJpgCompressor .rjc-cloud-upload-svg defs + path {
    transform-origin: center;
    animation: rjcCloudGlow 2.4s ease-in-out infinite;
}

#ragoJpgCompressor .rjc-cloud-upload-svg path:last-child {
    animation: rjcArrowUpload 1.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes rjcCloudFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 3px rgba(0, 220, 255, 0.2));
    }

    50% {
        transform: translateY(-7px);
        filter: drop-shadow(0 0 12px rgba(0, 220, 255, 0.65));
    }
}

@keyframes rjcCloudGlow {
    0%, 100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

@keyframes rjcArrowUpload {
    0%, 100% {
        transform: translateY(3px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    #ragoJpgCompressor .rjc-cloud-upload-svg,
    #ragoJpgCompressor .rjc-cloud-upload-svg defs + path,
    #ragoJpgCompressor .rjc-cloud-upload-svg path:last-child {
        animation: none;
    }
}























/* ---------------------------------------------------------
   MOBILE — IMAGE BIN GROWS, ADD MORE BUTTON PUSHES DOWN
   --------------------------------------------------------- */

@media (max-width: 600px) {

    #ragoJpgCompressor .rjc-left-panel {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        display: flex !important;
        flex-direction: column !important;

        overflow: visible !important;
    }

    #ragoJpgCompressor .rjc-image-bin {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        flex: 0 0 auto !important;
        overflow: visible !important;
    }

    #ragoJpgCompressor .rjc-left-upload {
        position: static !important;

        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;

        margin-top: 12px !important;
    }
}



















/* MOBILE + TABLET IMAGE BIN SCROLL */
@media (max-width: 1024px) {

    #ragoJpgCompressor .rjc-left-panel {
        min-height: 0 !important;
    }

    #ragoJpgCompressor .rjc-image-bin {
        height: auto !important;
        min-height: 0 !important;
        max-height: 500px !important;
        flex: 0 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

}

















/* FIX: Individual image download button clipping */

#ragoJpgCompressor .rjc-result-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    min-height: 125px !important;
    overflow: visible !important;
}

#ragoJpgCompressor .rjc-result-preview {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    min-width: 0 !important;
}

#ragoJpgCompressor .rjc-result-info {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
}

#ragoJpgCompressor .rjc-result-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: static !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 6px !important;
    align-self: end !important;
}

#ragoJpgCompressor .rjc-result-download-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 30px !important;
    flex: 1 1 auto !important;
    white-space: nowrap !important;
}

@media (max-width: 700px) {
    #ragoJpgCompressor .rjc-result-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        min-height: 115px !important;
        padding: 8px !important;
    }
}














/* Move Clear All and Download All slightly down */
#ragoJpgCompressor .rjc-right-panel .rjc-result-actions {
    transform: translateY(8px) !important;
}



















/* JPG Compressor — Smaller Upload Buttons */
#ragoJpgCompressor #rjcDropZone .rjc-upload-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#ragoJpgCompressor #rjcChooseFiles,
#ragoJpgCompressor #rjcOpenCamera {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    gap: 6px !important;
    flex: 1 1 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

#ragoJpgCompressor #rjcDropZone .rjc-upload-buttons span {
    font-size: 14px !important;
    flex-shrink: 0 !important;
}


















/* =========================================
   CAMERA PHOTO CONFIRMATION UI
========================================= */

#rjcCapturedPreview {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 12px;
    margin: 12px auto;
    background: #061725;
}

#rjcCapturedPreview[hidden] {
    display: none !important;
}

.rjc-camera-confirm-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin: 16px 0 8px;
}

#rjcRetakePhoto,
#rjcUsePhoto {
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#rjcRetakePhoto {
    color: #dceaf5;
    background: #123148;
    border: 1px solid #087da7;
}

#rjcUsePhoto {
    color: #ffffff;
    background: linear-gradient(135deg, #0797f5, #0874e8);
    border: 1px solid #19b9ff;
    box-shadow: 0 4px 16px rgba(0, 153, 255, 0.22);
}

#rjcRetakePhoto:hover,
#rjcUsePhoto:hover {
    transform: translateY(-1px);
}

#rjcRetakePhoto[hidden],
#rjcUsePhoto[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .rjc-camera-confirm-actions {
        gap: 8px;
    }

    #rjcRetakePhoto,
    #rjcUsePhoto {
        flex: 1 1 130px;
        padding: 10px 12px;
    }
}



















/* =========================================
   RAGO CAMERA SWITCH BUTTON
========================================= */

#rjcSwitchCamera {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    margin: 12px 0;
    border: 1px solid #00baff;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b2940, #092033);
    color: #eaf8ff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 186, 255, 0.12);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#rjcSwitchCamera:hover {
    background: linear-gradient(135deg, #104363, #0b304b);
    border-color: #48d6ff;
    box-shadow: 0 0 18px rgba(0, 186, 255, 0.25);
}

#rjcSwitchCamera:active {
    transform: scale(0.98);
}

#rjcSwitchCamera:focus-visible {
    outline: 2px solid #38d5ff;
    outline-offset: 3px;
}

#rjcSwitchCamera[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    #rjcSwitchCamera {
        width: 100%;
        min-height: 46px;
        margin: 10px 0;
    }
}























/* =========================================
   RAGO JPG COMPRESSOR — CAMERA MODAL
   Responsive | Top Aligned | Mobile Friendly
========================================= */

#rjcCameraModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 24px 16px !important;

    display: flex;
    align-items: flex-start !important;
    justify-content: center !important;

    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;

    background: rgba(2, 8, 18, 0.92) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#rjcCameraModal[hidden] {
    display: none !important;
}

/* Camera dialog */

#rjcCameraModal .rjc-modal-inner {
    position: relative !important;
    flex: 0 0 auto !important;

    width: 100% !important;
    max-width: 560px !important;
    max-height: calc(100% - 8px) !important;

    margin: 0 auto !important;
    padding: 22px !important;

    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;

    background: linear-gradient(160deg, #092235, #061522) !important;
    border: 1px solid #075780 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

/* Heading */

#rjcCameraModal .rjc-modal-inner h2 {
    margin: 0 48px 16px 0 !important;
    color: #f2f8ff !important;
    font-size: 23px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

/* Live and captured preview */

#rjcCameraPreview,
#rjcCapturedPreview {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 40vh !important;

    margin: 0 auto 14px !important;
    object-fit: contain !important;

    background: #020912 !important;
    border-radius: 12px !important;
}

#rjcCameraPreview[hidden],
#rjcCapturedPreview[hidden] {
    display: none !important;
}

/* Camera buttons */

#rjcSwitchCamera,
#rjcCapturePhoto,
#rjcRetakePhoto,
#rjcUsePhoto {
    min-height: 46px !important;
    box-sizing: border-box !important;

    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    cursor: pointer;
    touch-action: manipulation;
}

#rjcSwitchCamera {
    display: block;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 12px 14px !important;

    color: #eaf8ff !important;
    background: #0b2b40 !important;
    border: 1px solid #00baff !important;
}

#rjcCapturePhoto {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    padding: 13px 16px !important;

    color: #ffffff !important;
    background: linear-gradient(135deg, #078ff0, #1265ed) !important;
    border: 1px solid #19baff !important;
}

/* Retake and Use Photo */

.rjc-camera-confirm-actions {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;

    width: 100%;
    margin-top: 12px;
}

#rjcRetakePhoto,
#rjcUsePhoto {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px !important;
}

#rjcRetakePhoto {
    color: #eaf8ff !important;
    background: #123148 !important;
    border: 1px solid #087da7 !important;
}

#rjcUsePhoto {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0797f5, #0874e8) !important;
    border: 1px solid #19b9ff !important;
}

/* Close button */

#rjcCameraModal #rjcCloseCamera {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 5 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;

    color: #ffffff !important;
    background: #123148 !important;
    border: 1px solid #16445f !important;
    border-radius: 10px !important;

    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer;
}

/* Respect hidden state */

#rjcSwitchCamera[hidden],
#rjcCapturePhoto[hidden],
#rjcRetakePhoto[hidden],
#rjcUsePhoto[hidden] {
    display: none !important;
}

/* Tablet */

@media (max-width: 768px) {
    #rjcCameraModal {
        padding: 16px 12px !important;
    }

    #rjcCameraModal .rjc-modal-inner {
        max-width: 520px !important;
        padding: 18px !important;
    }

    #rjcCameraPreview,
    #rjcCapturedPreview {
        max-height: 36vh !important;
    }
}

/* Mobile */

@media (max-width: 480px) {
    #rjcCameraModal {
        padding: 10px !important;
        padding-top: 12px !important;
        align-items: flex-start !important;
    }

    #rjcCameraModal .rjc-modal-inner {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100% - 4px) !important;

        margin: 0 auto !important;
        padding: 16px !important;

        border-radius: 14px !important;
    }

    #rjcCameraModal .rjc-modal-inner h2 {
        margin: 0 42px 12px 0 !important;
        font-size: 20px !important;
    }

    #rjcCameraModal #rjcCloseCamera {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
    }

    #rjcCameraPreview,
    #rjcCapturedPreview {
        max-height: 32vh !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    #rjcSwitchCamera,
    #rjcCapturePhoto,
    #rjcRetakePhoto,
    #rjcUsePhoto {
        min-height: 44px !important;
        font-size: 14px !important;
    }

    #rjcSwitchCamera {
        margin-bottom: 8px !important;
        padding: 11px 10px !important;
    }

    #rjcCapturePhoto {
        padding: 12px 10px !important;
    }

    .rjc-camera-confirm-actions {
        gap: 8px;
        margin-top: 10px;
    }

    #rjcRetakePhoto,
    #rjcUsePhoto {
        padding: 11px 6px !important;
        font-size: 13px !important;
    }
}

/* Short mobile screens */

@media (max-height: 600px) {
    #rjcCameraModal {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    #rjcCameraModal .rjc-modal-inner {
        padding: 14px !important;
    }

    #rjcCameraPreview,
    #rjcCapturedPreview {
        max-height: 28vh !important;
    }
}






















/* RAGO Share Brand Icons */
.rjc-share-buttons button i {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 8px;
}

.rjc-share-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rjc-share-buttons button span {
    font-size: 12px;
}











/* RAGO TOOLS - Premium Social Share Buttons */

.rjc-share-buttons button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 100px;
    padding: 12px 8px;
    border: 1px solid rgba(0, 190, 255, 0.25);
    border-radius: 14px;
    background: linear-gradient(145deg, #0c2437, #061421);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rjc-share-buttons button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, #182d40, #07111c);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Official brand colours */

.rjc-share-buttons [data-share="whatsapp"] i {
    color: #25D366;
}

.rjc-share-buttons [data-share="facebook"] i {
    color: #1877F2;
}

.rjc-share-buttons [data-share="x"] i {
    color: #ffffff;
}

.rjc-share-buttons [data-share="instagram"] i {
    color: #E4405F;
}

.rjc-share-buttons [data-share="telegram"] i {
    color: #26A5E4;
}

.rjc-share-buttons [data-share="copy"] i {
    color: #dce8f5;
}

.rjc-share-buttons button:hover {
    transform: translateY(-3px);
    border-color: #00c8ff;
}

.rjc-share-buttons button span {
    font-size: 12px;
    text-align: center;
}















/* RAGO Share Icons - Extra Compact */

.rjc-share-buttons button {
    min-height: 62px;
    padding: 5px 3px;
    gap: 4px;
    border-radius: 10px;
}

.rjc-share-buttons button i {
    width: 26px;
    height: 26px;
    font-size: 17px;
    margin-bottom: 0;
}

.rjc-share-buttons button span {
    font-size: 10px;
    line-height: 1.1;
}
