.tool-content{--primary: #11C28A;--primary-hover: #0ea776;--bg-color: #F8FAFC;--card-bg: #FFFFFF;--text-main: #1E293B;--text-muted: #64748B;--border-color: #E2E8F0;--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--base-font-size: 16px;--radius: 8px;--table-header-bg: #F1F5F9;--table-row-hover: #F8FAFC}
html.dark .tool-content{
    --bg-color: #0F172A;
    --card-bg: #1E293B;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --table-header-bg: #0F172A;
    --table-row-hover: #334155;
}
.tool-content *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.tool-content .container{
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.tool-content header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.tool-content .logo{
    display: flex;
    align-items: center;
    gap: 12px;
}
.tool-content .logo h1{
    font-size: 24px;
    font-weight: 700;
}
.tool-content .logo i{
    font-size: 28px;
}
.tool-content .theme-toggle{
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 18px;
}
.tool-content .theme-toggle:hover{
    background: var(--card-bg);
    box-shadow: var(--shadow);
}
.tool-content .theme-toggle .fa-sun{
    color: #FBBF24;
}
.tool-content .legacy-main{
    flex: 1;
}
.tool-content .input-card,.tool-content .results-card{
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.tool-content label{
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}
.tool-content textarea{
    width: 100%;
    height: 160px;
    padding: 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tool-content textarea:focus{
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17, 194, 138, 0.1);
}
.tool-content select{
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2364748B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px top 50%;
    background-size: 12px auto;
}
.tool-content select:focus{
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17, 194, 138, 0.1);
}
html.dark .tool-content select{
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394A3B8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
}
.tool-content .primary-btn{
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.tool-content .primary-btn:hover{
    background-color: var(--primary-hover);
    transform: scale(1.02);
}
.tool-content .primary-btn:disabled{
    background-color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}
.tool-content .hidden{
    display: none;
}
.tool-content .results-card h2{
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
}
.tool-content .table-responsive{
    overflow-x: auto;
}
.tool-content table{
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    table-layout: fixed;
}
.tool-content th,.tool-content td{
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}
.tool-content th:nth-child(1){ width: 50%; }
.tool-content th:nth-child(2){ width: 25%; }
.tool-content th:nth-child(3){ width: 25%; }
.tool-content td{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tool-content th,.tool-content td{
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}
.tool-content th{
    background-color: var(--table-header-bg);
    font-weight: 700;
    color: var(--text-muted);
}
.tool-content tbody tr{
    transition: background-color 0.2s ease;
}
.tool-content tbody tr:hover{
    background-color: var(--table-row-hover);
}
.tool-content .status-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}
.tool-content .status-ready{
    background-color: rgba(17, 194, 138, 0.1);
    color: var(--primary);
}
.tool-content .status-not-found{
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}
.tool-content .status-loading{
    background-color: rgba(100, 116, 139, 0.1);
    color: var(--text-muted);
}
.tool-content .fa-spinner{
    animation: spin 1s linear infinite;
}
@keyframes spin{
    100% { transform: rotate(360deg); }
}
.tool-content footer{
    margin-top: auto;
    padding-top: 32px;
    text-align: center;
}
.tool-content .watermark{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.8;
}
.tool-content .cyknox-logo{
    height: 20px;
    width: auto;
}
@media (max-width: 600px){.tool-content header{
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
.tool-content .theme-toggle{
        align-self: flex-end;
        margin-top: -56px;
    }}