:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --border-color: #2a2a2a;
    --border-light: #333333;
    --hover-bg: #252525;
    --active-bg: #2a2a2a;
    --shadow-sm: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #f0f0f0;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e0e0e0;
    --border-light: #e5e5e5;
    --hover-bg: #f5f5f5;
    --active-bg: #f0f0f0;
    --shadow-sm: rgba(0, 0, 0, 0.05);
}

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

body {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    min-height: 100vh;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    gap: 6px;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.btn-primary {
    background: #007aff;
    color: white;
}

.btn-primary:hover {
    background: #0051d5;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--hover-bg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-family: inherit;
}

.select:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.badge-ugly {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

.badge-no-website {
    background: rgba(255, 149, 0, 0.15);
    color: #ff9500;
}

.table-row {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid var(--border-light);
}

.table-row:hover {
    background: var(--hover-bg);
}

.table-row:last-child {
    border-bottom: none;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
}

.sortable:hover {
    background: var(--hover-bg);
}

.iframe-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-primary);
}

.website-viewer {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 600px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.website-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

