* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Liter", sans-serif;
    font-weight: 400;
    font-style: normal;
}

form {
    width: 100%;
    display: flex;
    justify-content: center;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    overflow-y: auto;
    background: linear-gradient(135deg, #1d1d1d, #313131);
}

.search-wrapper {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    margin-top: 36px;
    max-width: 880px;
    height: 40px;
    transition: all ease-in-out .3s;
    filter: drop-shadow(0 4px 10px rgba(72, 72, 72, 0.5));
}

.search-select {
    min-width: 92px;
}

.input-group {
    display: flex;
    flex: 1;
    background-color: #121212;
    border: 1px solid #303030;
    border-radius: 40px 0 0 40px;
    padding-left: 10px;
    overflow: hidden;
}

.input-field {
    caret-color: rgb(158, 158, 158);
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    padding: 0 15px;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #888;
    user-select: none;
}

.divider {
    width: 1px;
    background-color: #303030;
    margin: 8px 0;
}

.search-button {
    background-color: #cc0000;
    border: none;
    border-radius: 0 40px 40px 0;
    padding: 0 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    min-width: 70px;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.search-button:hover {
    background-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transform: scale(1.02);
}

.search-button:active {
    transform: scale(0.98);
}

.search-button svg {
    fill: white;
    width: 20px;
    height: 20px;
}

.table-wrapper {
    width: 75%;
    margin-top: 40px;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: #121212;
    border: 1px solid #303030;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.results-table thead {
    background: #1a1a1a;
}

.results-table th,
.results-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #303030;
}

.results-table th {
    color: #ff4d4d;
    font-weight: 600;
    font-size: 15px;
}

.results-table td {
    font-size: 14px;
    color: #e5e5e5;
}

.results-table tbody tr:hover {
    background: #1f1f1f;
    transition: all .3s;
}

.results-table tbody tr {
    transition: all .3s ease-in-out;
}

.results-table a {
    color: #ff4d4d;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    display: inline-block;
}

.results-table a:hover {
    color: #ff3e3e;
    text-shadow: 0 0 8px rgba(255, 62, 62, 0.6);
}

.page-form {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media (max-width: 480px) {
    .search-wrapper {
        height: 36px;
    }

    .input-field {
        font-size: 14px;
        padding: 0 8px;
    }

    .search-button {
        padding: 0 15px;
        min-width: 50px;
    }

    .results-table th,
    .results-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.error-box {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #2a1111;
    color: #ffb3b3;
    border: 1px solid #6b1f1f;
    padding: 12px 16px;
    border-radius: 12px;
}

.loading-overlay {
    background: rgba(18, 18, 18, 0.9);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.loader {
    width: 50px;
    margin-bottom: 20px;
    height: 50px;
    border: 5px solid #303030;
    border-top: 5px solid #cc0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 18px;
    letter-spacing: 1px;
}

.search-select {
    background: #121212;
    color: white;
    border: 1px solid #303030;
    border-radius: 40px;
    padding: 0 14px 0 40px;
    height: 40px;
    margin-right: 12px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all .3s ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px;
}

.search-select:hover {
    border-color: #cc0000;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

.search-select option {
    background: #121212;
    color: white;
}

@media (max-width: 600px) {
    .page-form {
        padding: 0 12px;
    }

    .search-wrapper {
        width: 100%;
        flex-direction: column;
        height: auto;
        gap: 10px;
        align-items: stretch;
    }

    .search-select {
        width: 100%;
        margin-right: 0;
        height: 40px;
    }

    .input-group {
        width: 100%;
        border-radius: 20px;
        padding-left: 10px;
    }

    .input-field {
        height: 40px;
        font-size: 14px;
        padding: 0 10px;
    }

    .search-button {
        width: 100%;
        height: 40px;
        border-radius: 20px;
    }
}

@media (max-width: 900px) {
    .page-form {
        padding: 0 12px;
    }

    .search-wrapper {
        width: 100%;
    }

    .table-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .project-section {
        width: 100%;
        padding: 22px;
        margin-top: 50px;
    }
}

.project-section {
    width: 75%;
    max-width: 880px;
    margin-top: 80px;
    padding: 22px;
    border-radius: 16px;
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.project-section h2 {
    margin-bottom: 10px;
    color: #ff4d4d;
    font-size: 22px;
}

.project-section p {
    line-height: 1.7;
    color: #e6e6e6;
    font-size: 15px;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: -6px;
    user-select: none;
    text-align: center;
}

.brand-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    transition: transform 0.3s ease, filter 0.3s ease;
    background: linear-gradient(
        90deg,
        #ff0000 0%,
        #ff3535 10%,
        #ff3333 45%,
        #ffadad 50%,
        #ff3030 75%,
        #ff1b1b 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        gradientMove 18s ease-in-out infinite,
        titleGlow 3s ease-in-out infinite alternate;
}

.brand-title:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 51, 51, 0.3))
                drop-shadow(0 0 12px rgba(255, 77, 77, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 18px rgba(255, 0, 0, 0.8))
                drop-shadow(0 0 32px rgba(255, 77, 77, 0.6))
                drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

@media (max-width: 480px) {
    .brand-header {
        margin-top: 18px;
    }

    .brand-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
}

.highlight {
    background: #ffea00;
    color: #000;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 0 6px rgba(255, 234, 0, 0.6);
}

.brand-subtitle {
    margin-top: 8px;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.github-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #121212;
    border: 1px solid #303030;
    padding: 8px 16px;
    border-radius: 30px;
    color: #e5e5e5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.github-btn svg {
    width: 18px;
    height: 18px;
    fill: #e5e5e5;
    transition: fill 0.3s ease-in-out;
}

.github-btn:hover {
    color: #e6e6e6;
    border-color: #c6c6c6;
    box-shadow: 0 0 5px rgba(196, 196, 196, 0.4);
    text-shadow: 0 0 8px rgba(254, 254, 254, 0.6);
    filter: drop-shadow(0 0 5px rgba(254, 254, 254, 0.6));
    transform: scale(1.03);
}

.github-btn:hover svg {
    fill: #e3e3e3;
}

.github-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .github-btn {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .github-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 400px) {
    .github-btn span {
        display: none;
    }

    .github-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

.theme-toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #121212;
    border: 1px solid #303030;
    padding: 8px 16px;
    border-radius: 30px;
    color: #b388ff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    fill: #ba5aff;
    transition: fill 0.3s ease-in-out;
}

.ai-mode-btn:hover {
    color: #b388ff;
    border-color: #7c4dff;
    text-shadow: 0 0 8px rgba(170, 124, 255, 0.5);
    filter: drop-shadow(0 0 5px rgba(155, 102, 255, 0.5));
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.4);
    transform: scale(1.03);
}

.ai-mode-btn:hover svg {
    fill: #b388ff;
}

.classic-mode-btn {
    color: #ff4d4d;
}

.classic-mode-btn svg {
    fill: currentColor;
}

.classic-mode-btn:hover {
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
    filter: drop-shadow(0 0 5px rgba(255, 77, 77, 0.6));
    border-color: #cc0000;
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.4);
    transform: scale(1.03);
}

.ai-badge {
    font-size: 1.2rem;
    color: #b388ff;
    vertical-align: super;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(124, 77, 255, 0.6);
}

.ai-theme {
    background: linear-gradient(135deg, #130f26, #21173d);
}

.ai-theme .brand-title {
    background: linear-gradient(
        90deg,
        #7c4dff 0%,
        #9b66ff 25%,
        #b388ff 50%,
        #e0d0ff 75%,
        #7c4dff 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientMove 18s ease-in-out infinite, aiTitleGlow 3s ease-in-out infinite alternate;
}

.ai-theme .search-button {
    background-color: #7c4dff;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.2);
}

.ai-theme .search-button:hover {
    background-color: #9b66ff;
    box-shadow: 0 0 20px rgba(155, 102, 255, 0.5);
}

.ai-theme .search-select:hover {
    border-color: #7c4dff;
    box-shadow: 0 0 10px rgba(124, 77, 255, 0.3);
}

.ai-theme .results-table th {
    color: #b388ff;
}

.ai-theme .results-table a {
    color: #b388ff;
}

.ai-theme .results-table a:hover {
    color: #d1b3ff;
    text-shadow: 0 0 8px rgba(209, 179, 255, 0.6);
}

.ai-theme .project-section h2 {
    color: #b388ff;
}

.ai-theme .loader {
    border-top: 5px solid #7c4dff;
}

.ai-theme .highlight {
    background: #b388ff;
    color: #000;
    box-shadow: 0 0 8px rgba(179, 136, 255, 0.7);
}

@keyframes aiTitleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(124, 77, 255, 0.3))
                drop-shadow(0 0 12px rgba(179, 136, 255, 0.2));
    }
    100% {
        filter: drop-shadow(0 0 18px rgba(124, 77, 255, 0.8))
                drop-shadow(0 0 32px rgba(179, 136, 255, 0.6))
                drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    }
}

@media (max-width: 600px) {
    .theme-toggle-btn {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }

    .theme-toggle-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 400px) {
    .theme-toggle-btn span {
        display: none;
    }

    .theme-toggle-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

.raw-theme {
    background: linear-gradient(135deg, #0b1324, #111b34);
}

.raw-theme .brand-title {
    background: linear-gradient(
        90deg,
        #3b82f6 0%,
        #60a5fa 25%,
        #93c5fd 50%,
        #dbeafe 75%,
        #2563eb 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 18s ease-in-out infinite, blueTitleGlow 3s ease-in-out infinite alternate;
}

.raw-theme .search-button,
.raw-theme .raw-upload-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.raw-theme .search-button:hover,
.raw-theme .raw-upload-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #93c5fd;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}

.raw-theme .search-button:active,
.raw-theme .raw-upload-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.raw-theme .search-select:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.raw-theme .results-table th {
    color: #93c5fd;
}

.raw-theme .results-table a {
    color: #93c5fd;
}

.raw-theme .results-table a:hover {
    color: #dbeafe;
    text-shadow: 0 0 8px rgba(219, 234, 254, 0.6);
}

.raw-theme .project-section h2 {
    color: #93c5fd;
}

.raw-theme .loader {
    border-top: 5px solid #2563eb;
}

.raw-theme .highlight {
    background: #93c5fd;
    color: #000;
    box-shadow: 0 0 8px rgba(147, 197, 253, 0.7);
}

.raw-theme .raw-upload-card {
    width: 75%;
    max-width: 880px;
    margin-top: 40px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(145deg, #10192f, #0d1527);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.05),
                0 0 40px rgba(37, 99, 235, 0.03);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.raw-theme .raw-upload-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5),
                inset 0 1px 2px rgba(255, 255, 255, 0.08),
                0 0 50px rgba(37, 99, 235, 0.06);
}

.raw-theme .raw-upload-card h2 {
    margin-bottom: 12px;
    color: #93c5fd;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.2);
}

.raw-theme .raw-upload-card p {
    line-height: 1.7;
    color: #abc2e8;
    font-size: 15px;
    margin-bottom: 20px;
}

.raw-theme .raw-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.raw-theme .raw-file-input {
    flex: 1;
    min-width: 240px;
    color: #e5e5e5;
    background: #070d1a;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.raw-theme .raw-file-input::-webkit-file-upload-button {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #3b82f6;
    color: #93c5fd;
    border-radius: 8px;
    padding: 6px 14px;
    margin-right: 12px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.raw-theme .raw-file-input:hover::-webkit-file-upload-button {
    background: #2563eb;
    color: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.raw-theme .raw-file-input:hover {
    border-color: #3b82f6;
    background: #091122;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(59, 130, 246, 0.15);
}

.raw-theme .raw-file-input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(96, 165, 250, 0.25);
}

.raw-theme .raw-meta {
    margin-top: 14px;
    font-size: 14px;
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.2);
}

.raw-theme .raw-mode-btn {
    color: #93c5fd;
    transition: all 0.3s ease;
}

.raw-theme .raw-mode-btn:hover {
    color: #dbeafe;
    border-color: #60a5fa;
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.35);
}

@keyframes blueTitleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.25))
                drop-shadow(0 0 12px rgba(96, 165, 250, 0.18));
    }
    100% {
        filter: drop-shadow(0 0 18px rgba(37, 99, 235, 0.75))
                drop-shadow(0 0 32px rgba(96, 165, 250, 0.5))
                drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
    }
}

.raw-theme .raw-search-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    height: 40px !important;
    min-width: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35),
                inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.raw-theme .raw-search-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border-color: #93c5fd !important;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.65),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.raw-theme .raw-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.raw-theme .raw-search-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.raw-theme .search-wrapper.raw-search-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 880px !important;
    margin: 40px auto 0 auto !important;
}

.raw-theme .input-group {
    flex: 1 1 auto !important;
    display: flex !important;
    background-color: #121a2e;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 40px !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.raw-theme .input-field {
    height: 40px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: transparent;
    border: none;
    border-radius: inherit !important;
    color: #ffffff;
    padding: 0 18px !important;
}

.raw-theme .raw-search-btn {
    margin-left: 14px !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border: 1px solid rgba(96, 165, 250, 0.4) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    height: 40px !important;
    min-width: 70px !important;
    padding: 0 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.raw-theme .raw-search-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    border-color: #93c5fd !important;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: scale(1.03);
}

.raw-theme .raw-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.raw-theme .raw-search-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.raw-theme .table-wrapper.raw-table-wrapper {
    width: 100% !important;
    max-width: 880px !important;
    margin: 40px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

.raw-theme .results-table {
    width: 100% !important;
    margin: 0 auto !important;
}

.raw-theme .results-table th,
.raw-theme .results-table td {
    text-align: center;
}

.raw-theme .raw-section {
    width: 100% !important;
}

.raw-theme .search-wrapper.raw-search-wrapper {
    width: 100% !important;
    max-width: 880px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
    margin: 40px auto 0 auto !important;
}

.raw-theme .search-select {
    flex: 0 0 auto !important;
    height: 40px !important;
}

.raw-theme .input-group {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 40px !important;
    border-radius: 40px !important;
    overflow: hidden !important;
}

.raw-theme .input-field {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    box-sizing: border-box !important;
}

.raw-theme .raw-search-btn {
    flex: 0 0 70px !important;
    height: 40px !important;
    margin-left: 0 !important;
}

@media (max-width: 600px) {
    .raw-theme .search-wrapper.raw-search-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .raw-theme .raw-search-btn {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .raw-theme .input-group {
        width: 100% !important;
    }

    .raw-theme .table-wrapper.raw-table-wrapper {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .theme-toggle-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .theme-toggle-btn span {
        display: none !important;
    }

    .theme-toggle-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    .raw-theme .search-select,
    .raw-theme .raw-search-btn {
        width: 100% !important;
        height: 40px !important;
        border-radius: 20px !important;
    }

    .raw-theme .input-group {
        width: 100% !important;
        border-radius: 20px !important;
    }

    .raw-theme .input-field {
        height: 40px !important;
    }

    .raw-theme .raw-search-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 400px) {
    .theme-toggle-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
    }

    .theme-toggle-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

.download-sub-form {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.download-sub-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.5);
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.download-sub-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
    border-color: #60a5fa;
}

.download-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.download-btn {
    min-width: 220px;
}

.download-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #151515 0%,
        #25161d 30%,
        #32192f 65%,
        #1a1322 100%
    );
    color: #ffffff;
    border: 1px solid rgba(190, 130, 190, 0.28);
    padding: 12px 20px;
    padding-bottom: 20px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.download-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 77, 77, 0.12),
        rgba(179, 136, 255, 0.14),
        transparent
    );
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.download-btn:hover::before {
    transform: translateX(120%);
}

.download-btn:hover {
    transform: scale(1.03);
    border-color: rgba(200, 130, 255, 0.5);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.45),
        0 0 16px rgba(179, 136, 255, 0.18),
        0 0 12px rgba(255, 77, 77, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.07);
    background: linear-gradient(
        135deg,
        #1b1b1b 0%,
        #2f1824 30%,
        #42214a 65%,
        #1d1528 100%
    );
}

.download-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.35),
        0 0 10px rgba(179, 136, 255, 0.12);
}

.download-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(179, 136, 255, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.45);
}

@media (max-width: 600px) {
    .download-wrap {
        justify-content: stretch;
    }

    .download-btn {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .raw-theme .raw-upload-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .raw-theme .raw-file-input {
        width: 100%;
        min-width: 0;
    }

    .raw-theme .raw-upload-btn {
        width: 100%;
    }

    .raw-theme .search-wrapper.raw-search-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .raw-theme .search-select {
        width: 100%;
        margin-right: 0;
    }

    .raw-theme .input-group {
        width: 100%;
        min-width: 0;
        height: 40px;
        display: flex;
        align-items: center;
        background-color: #121a2e;
        border: 1px solid rgba(96, 165, 250, 0.25);
        border-radius: 20px;
        padding-left: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .raw-theme .input-field {
        width: 100%;
        min-width: 0;
        height: 40px;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .raw-theme .raw-search-btn {
        width: 100%;
        margin-left: 0;
    }

    .raw-theme .download-sub-btn {
        width: 100%;
        margin-left: 0;
    }

    .raw-theme .results-table th,
    .raw-theme .results-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .raw-theme .input-group {
        width: 100%;
        min-width: 0;
        height: 40px;
        display: flex;
        align-items: center;
        background-color: #121a2e;
        border: 1px solid rgba(96, 165, 250, 0.25);
        border-radius: 20px;
        padding-left: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .raw-theme .input-field {
        flex: 1;
        width: 100%;
        min-width: 0;
        height: 40px;
        padding: 0 12px;
        background: transparent;
        color: #ffffff;
        border: none;
        outline: none;
        display: block;
        opacity: 1;
        visibility: visible;
        -webkit-text-fill-color: #ffffff;
    }

    .raw-theme .input-field::placeholder {
        color: #8ea7d6;
        opacity: 1;
    }
}

.raw-theme .input-group {
    height: 48px !important;
    min-height: 48px !important;
}

.raw-theme .input-field {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    color: white !important;
    font-size: 16px !important;
    background: transparent !important;
}


img, table, input, button {
    max-width: 100%;
}

.results-table {
    table-layout: fixed;
    width: 100%;
}

.results-table td,
.results-table th {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

input, textarea {
    min-width: 0;
}

.page-form {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.search-wrapper {
    width: 100%;
    max-width: 880px;
    margin: 36px auto 0 auto;
}

.table-wrapper {
    width: 100%;
    max-width: 880px;
    margin: 40px auto 0 auto;
}

.input-group {
    width: 100%;
    max-width: 100%;
}

.input-field {
    min-width: 0;
}

.results-table {
    table-layout: auto !important;
}

.results-table th:nth-child(1),
.results-table td:nth-child(1),
.results-table th:nth-child(2),
.results-table td:nth-child(2) {
    width: 1%;
    white-space: nowrap;
    padding-left: 12px;
    padding-right: 12px;
}

.download-wrap {
    overflow: hidden;
}

.download-btn:hover {
    transform: scale(1.01);
}

.results-table a {
    display: inline-block;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}