:root {
    --background: 0 0% 0%;
    --foreground: 210 40% 98%;
    --card: 0 0% 0%;
    --card-foreground: 210 40% 98%;
    --popover: 0 0% 0%;
    --popover-foreground: 210 40% 98%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 0 0% 15%;
    --secondary-foreground: 210 40% 98%;
    --muted: 0 0% 20%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 0 0% 20%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 100% 35%;
    --destructive-foreground: 210 40% 98%;
    --border: 0 0% 20%;
    --input: 0 0% 20%;
    --ring: 0 100% 50%;
    --gradient-secondary: linear-gradient(270deg, #ffd24c, #f37021, #b27cff);
}

* {
    box-sizing: border-box;
    font-size: 13px !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
    outline: none !important;
}

a:active,
a:focus {
    outline: 0;
    border: none;
    -moz-outline-style: none;
}

a:focus {
    outline: solid 0px !important;
}

button, a {
  transition: background-color 0.2s;
}

*:focus {
    outline: 0 !important;
}

::-webkit-scrollbar {
    display: none;
}

::-moz-selection {
    background-color: var(--theme-color);
    color: var(--text-color);
}

::selection {
    background-color: var(--theme-color);
    color: var(--text-color);
}

::-webkit-scrollbar {
    display: none !important;
}

html {
    scrollbar-width: none;
}

body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: #000;
    min-height: 100vh;
    padding: 0;
    -ms-overflow-style: none;
}

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

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.fc {
    flex-direction: column;
}

.flex1 {
    flex: 1 1 0%;
}

.container {
    width: 100%;
    /* max-width: 80rem; */
}

.mxa {
    margin-left: auto;
    margin-right: auto;
}

.maxw {
    /* max-width: 56rem; */
}

.padding1 {
    padding: 1rem;
    padding-bottom: 10rem;
}

.padding2 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.padding3 {
    padding-top: 1rem;
}

.margin1 {
    margin-bottom: 1rem;
}

.margin2 {
    margin-bottom: 1.5rem;
}

.margin3 {
    margin-top: 1rem;
}

.margin4 {
    margin-top: 5rem;
}

.margin4>*+* {
    margin-top: 0.75rem;
}

.margin5>*+* {
    margin-top: 1.5rem;
}

.gap1 {
    gap: 0.5rem;
}

.gap2 {
    gap: 0.75rem;
}

.gap3 {
    gap: 1rem;
}

.grid {
    display: grid;
}

.gridc1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gridc2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gridc3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.itemsC {
    align-items: center;
    margin-bottom: 0;
}

.justifyC {
    justify-content: space-between;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: hsl(var(--foreground));
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1.125rem;
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.text-primary {
    color: hsl(var(--primary));
}

.textG {
    color: #10b981;
}

.textR {
    color: #ff0303;
}

.textA {
    color: #f37021;
}

.textB {
    color: #3b82f6;
}

.textP {
    color: #8b5cf6;
}

#welcomeOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay-content {
    display: flex;
    background: #000;
    padding: 60px;
    text-align: center;
    color: #fff;
    align-items: center;
    gap: 60px;
    max-width: 1150px;
    width: 90%;
}

.overlay-left img {
    width: 500px;
    height: 500px;
    object-fit: contain;
}

.overlay-right {
    flex: 1;
    text-align: left;
}

.overlay-right h2 {
    margin-bottom: 15px;
    font-size: 20px !important;
}

.overlay-right input {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 15px;
    border: 1px solid #424242;
    outline: none;
}

.overlay-right button {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    background: #f37021;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 25px;
}

#welcomeMsg {
    font-size: 36px !important;
    font-weight: bold;
    text-align: center;
    color: #f37021;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 768px) {
    .overlay-content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 20px;
    }

    .overlay-left img {
        max-width: 100%;
        height: 300px;
    }

    .overlay-right h2 {
        font-size: 13px !important;
    }

    .overlay-right input {
        font-size: 16px;
        padding: 10px;
    }

    .overlay-right button {
        font-size: 16px;
        padding: 10px;
    }

    #welcomeMsg {
        font-size: 30px !important;
    }
}

#heroTitle {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
        url("../image/header.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 10px;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

header a img {
    display: block;
    height: 35px;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    text-decoration: none;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

.header-btn:hover {
    color: #f37021;
}

.hamburger-btn,
.close-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.hamburger-btn i,
.close-btn i {
    font-size: 20px !important;
}

@media (max-width: 768px) {
    .header-btn {
        display: none;
    }
}

.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #222;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
        url("../image/ocanvas.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1002;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.off-canvas-menu.active {
    right: 0;
}

.menu-header {
    height: 50px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
}

.menu-title {
    font-size: 18px !important;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-content {
    flex: 1;
    padding: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.offcanvas-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.offcanvas-btn {
    display: block;
    text-align: center;
    padding: 7px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: bold;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.offcanvas-btn:hover {
    background-color: #f37021;
}

.menu-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.menu-footer-f1 {
    padding: 3px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

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

.developer-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.developer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.developer-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 6px;
}

.social-link {
    width: 24px;
    height: 24px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #f37021;
    color: #fff;
    transform: translateY(-1px);
}

.source-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.source-link:hover {
    background: #f37021;
    color: #fff;
    transform: translateY(-1px);
}

.uiu-badge,
.uiu-license-badge {
    display: inline-flex;
    color: #fff;
    padding: 5px 0;
}

.uiu-badge-left,
.uiu-license-left {
    background-color: #333;
}

.uiu-badge-left,
.uiu-license-left,
.uiu-badge-right,
.uiu-license-right {
    padding: 2px 8px;
    font-size: 11px !important;
}

.uiu-badge-right {
    background-color: #f37021;
}

.uiu-license-right {
    background-color: #008000;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-primary);
    padding: 6px 20px;
    padding-top: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    width: 100%;
    box-sizing: border-box;
    margin-top: -6px !important;
    position: sticky;
    z-index: 9;
    top: 45px;
}

body.dark-mode .breadcrumb {
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #f37021;
}

.breadcrumb span {
    margin: 0 5px;
    color: var(--text-primary);
}

.breadcrumb i {
    margin-right: 3px;
}

.breadcrumb span.bc-current-page {
    color: #f37021;
    font-weight: bold;
    margin-left: -1px;
}

.container,
.gsc-main {
    /* max-width: 1000px !important; */
    margin: auto;
}

.card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-description {
    color: hsl(var(--muted-foreground));
}

.card-content {
    padding: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

input,
select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.6rem;
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius);
    background-color: transparent;
    color: hsl(var(--foreground));
}

input:focus,
select:focus {
    outline: none;
    border: 1px solid #f37021;
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    line-height: 1;
    transition: all 0.2s;
    cursor: pointer;
}

.btn {
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    width: 100%;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.btn:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
    background-color: #f37021;
    color: hsl(var(--accent-foreground));
}

.btn-destructive {
    background: none;
    border: none;
    font-weight: bold;
}

.btn-sm {
    padding: 0 0.15rem;
    border: none;
    outline: none;
    background: none;
}

.btn-sm:hover {
    background: none;
}

.btn-icon {
    padding: 0.5rem;
    width: 2rem;
    height: 2rem;
}

.tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tabs-list {
    display: flex;
    width: 100%;
    margin-bottom: 1.5rem;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: var(--radius);
    overflow: hidden;
}

.tabs-trigger {
    width: 50%;
    text-align: center;
    padding: 0.8rem 1rem;
    background-color: #141414;
    color: #bbb;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tabs-trigger:hover {
    background-color: #2a2a2a;
    color: #fff;
}

.tabs-trigger.active {
    background-color: #000;
    color: #fff;
    border: 2px solid #141414;
}

.tabs-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tabs-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 0;
}

td,
th {
    text-align: center;
    padding: 0.75rem;
    margin: 0;
    border-bottom: 1px solid hsl(var(--border));
    line-height: 0.75rem;
}

tr:last-child td {
    border-bottom: none;
}

.custom-table td,
.custom-table th {
    text-align: left;
    line-height: 1.5rem;
}

.separator {
    height: 1px;
    background-color: hsl(var(--border));
    margin: 1rem 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.scroll-area {
    overflow: auto;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
}

.result {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
}
/* 
@media (min-width: 768px) {
    .md\:gridc3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:p-8 {
        width: 1200px;
        padding: 2rem;
        margin: auto;
    }

    .md\:flex-row {
        flex-direction: row;
    }
} */

@media (min-width: 768px) {
  .md\:gridc3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:p-8 {
    width: 100%;
    max-width: clamp(960px, 92vw, 1600px); /* tablet -> desktop -> ultrawide */
    padding: 2rem;
    margin: 0 auto;
  }

  .md\:flex-row {
    flex-direction: row;
  }
}

.icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

svg.icon.mr-2 {
    margin-right: 0.3rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #141414;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #f37021;
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.toggle-description {
    font-size: 11px !important;
    color: hsl(var(--muted-foreground));
    font-style: italic;
}

.card {
    margin-bottom: 1.25rem;
}

select,
input {
    height: 38px;
}

.btn {
    height: 38px;
}

.card-header {
    background-color: #141414;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.tabs-list {
    margin-bottom: 1.25rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.note-g,
.note-r,
.note-b,
.note-g1,
.note-r1,
.note-b1 {
    font-size: 13px;
    text-align: center;
    margin: 15px 0;
    padding: 8px;
}

.note-g {
    background-color: rgba(7, 158, 70, 0.226);
    color: #0ad406;
    border: 1px solid rgba(36, 241, 6, 0.46);
    box-shadow: 0px 0px 2px #259c08;
}

.note-g1 {
    background-color: rgba(7, 158, 70, 0.226);
    color: #0ad406;
}

.note-r,
.note-r-sp1 {
    background-color: rgba(220, 17, 1, 0.16);
    color: #ff0303;
    border: 1px solid rgba(241, 6, 6, 0.81);
    box-shadow: 0px 0px 2px #ff0303;
}

.note-r1 {
    background-color: rgba(220, 17, 1, 0.16);
    color: #ff0303;
}

.note-r-sp1 {
    width: 100%;
    text-align: left;
    margin: 0;
}

.note-b {
    background-color: rgba(1, 204, 220, 0.16);
    color: #03d0ff;
    border: 1px solid rgba(6, 241, 226, 0.81);
    box-shadow: 0px 0px 2px #03fff5;
}

.note-b1 {
    background-color: rgba(1, 204, 220, 0.16);
    color: #03d0ff;
}

.note-g sp {
    margin: 0;
}

.grad-txt {
    font-family: 'Lobster', cursive;
    font-size: 35px !important;
    padding: 0 5px;
    text-align: center !important;
    font-weight: bold;
    background: var(--gradient-secondary);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 5s ease infinite;
    user-select: none;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.dark-select option {
    background-color: #000;
    color: #fff;
}

#greeting {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 5px 20px;
    font-size: 13px !important;
    text-align: center;
}

.acc-wrapper {
    /* max-width: 1000px; */
    margin: 0 auto;
    line-height: 1.5;
    margin: 15px 0;
}

.acc-details-item {
    border-left: 1px dashed #fff;
    border-right: 1px dashed #fff;
    border-bottom: 1px dashed #fff;
    padding: 1rem;
    color: #fff;
}

.acc-details-item>*+* {
    margin-top: 1.5em;
}

.acc-item+.acc-item {
    margin-top: 0.5rem;
}

.acc-question-item {
    list-style: none;
    border: 1px dashed #535353;
    padding: 0.75em 1em;
    cursor: pointer;
    position: relative;
    padding-left: calc(1.75rem + 0.75rem + 0.75rem);
    background-color: var(--bg-1);
    font-weight: 700;
}

.acc-question-item::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.75rem;
    content: "↓";
    width: 1.75rem;
    height: 1.75rem;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.acc-item[open] .acc-question-item {
    background-color: #f37021;
    border: 2px solid #fff;
}

.acc-item[open] .acc-question-item::before {
    content: "↑";
}

.acc-details-item ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.acc-details-item li {
    margin-bottom: 5px;
    line-height: 1.5;
    font-size: 14px;
    color: #fff;
}

.container-h {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* max-width: 1200px; */
    gap: 20px;
    margin: 20px auto;
}

.left-column-h,
.right-column-h {
    flex: 1;
    min-width: 300px;
}

.left-column-h {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-column-h {
    color: #fff;
}

.hero-sec h1 {
    font-family: 'Lobster', cursive;
    margin-top: -1px;
    padding: 10px;
    font-weight: bold;
    flex: 1;
    transition: color 0.3s ease;
    background: var(--gradient-secondary);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientAnimation 7s ease infinite;
    user-select: none;
    font-size: 35px !important;
    text-align: center;
}

.tool-all {
    /* max-width: 900px; */
    margin: auto;
    padding: 20px;
}

.header-containerX {
    background-color: #f37021;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
}

.item-heading {
    font-family: "Satisfy", cursive;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    margin-top: -5px;
    margin-bottom: -5px;
}

.containerx1 {
    margin: 0 auto;
    margin-bottom: 20px;
    border-top: none;
    background-color: var(--card-bg-2);
    color: #fff;
    border: 1px solid #333;
    padding: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.item-containerX {
    margin: 4px;
    gap: 8px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.item {
    margin: 0;
    padding: 10px;
    font-size: 13px;
    background-color: var(--card-bg-2);
    color: #fff;
    border: 1px solid #333;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.item:hover {
    color: #ffffff;
    transform: scale(1);
    transition: color 0.3s;
}

.item::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #f37021;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 1000ms;
}

.item:hover::before {
    width: 250%;
}

@media (max-width: 600px) {
    .item-containerX {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .item {
        font-size: 13px;
        padding: 10px;
    }
}

.main-footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px;
}

.main-footer a {
    text-decoration: none;
    color: #f37021;
}

.edit-btn,
.remove-btn {
    padding: 2px 5px;
    margin: 0 2px;
    font-size: 11px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    color: #fff;
}

.edit-btn {
    background-color: #f37021;
}

.remove-btn {
    background-color: #e53935;
}

.edit-btn:hover {
    opacity: 0.8;
}

.remove-btn:hover {
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    gap: 10px;
}

.download-buttons i {
    margin-right: 5px;
    font-size: 11px !important;
}

.download-buttons .download-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #202020;
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.download-buttons .download-btn:hover {
    background: #f37021;
    color: #fff;
}

.giscus,
.giscus-frame {
    /* max-width: 1000px; */
}

.giscus-frame {
    border: none;
}

#commentSection .card-header { 
  padding: 0;         
}
#commentSection .card-header h3 { 
  margin: 0; 
}

#commentSection .card-header .accordion-toggle {
  all: unset;
  box-sizing: border-box;   
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  cursor: pointer;
  padding: 13px;
}

#commentSection .card-header .accordion-toggle::after {
  content: '↓';
  margin-left: auto;
  opacity: .85;
}

#commentSection .card-header .accordion-toggle[aria-expanded="true"]::after {
  content: '↑';
}

#commentSection .card-header .accordion-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}






/* Desktop-only split layout */
@media (min-width: 1024px) {
  .desktop-split {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr; /* left wider */
    gap: 1.25rem;
    align-items: stretch; /* was: start — stretch makes columns equal height */
  }

  /* Make columns flex so inner panels can fill column height */
  .left-col,
  .right-col {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  /* Result: keep hidden by default; show only when it has content */
  #cgpaResult {
    display: none;        /* remove the previous display:block !important */
    margin-top: 0;        /* align to top */
    flex: 1 1 auto;       /* fill the right column when visible */
  }
  #cgpaResult:not(:empty) {
    display: block !important;
  }

  /* Placeholder card fills the right column until result appears */
  #rightPlaceholder {
    flex: 1 1 auto;
  }

  /* Optional: center placeholder content nicely */
  #rightPlaceholder .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
  }

  /* Remove the pseudo-placeholder, since you now use a real card */
  /* Delete this whole block if you still have it:
  #cgpaResult:empty::before { ... }
  */
}

/* Optional: make the right panel stick as you scroll on desktop
.right-col { position: sticky; top: 90px; }
*/

