
:root {
    --bg-body: #0f1118;
    --bg-card: rgba(30, 30, 47, 0.85);
    --bg-input: #26293f;
    --bg-hover: rgba(127, 90, 240, 0.15);
    --text-main: #e5e6f0;
    --text-muted: #8b8fa6;
    --accent: #7f5af0;
    --accent-hover: #9b6bff;
    --border-color: #3a3f55;
    --shadow-elevate: 0 12px 30px rgba(0, 0, 0, 0.6);
    --radius: 16px;
    --transition: all 0.3s ease;
    --font-main: system-ui, -apple-system, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.loader-circle {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(127, 90, 240, 0.15);
    border-top: 6px solid #9d77ff;
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    margin: 25px auto 35px auto;
    display: none;
    box-shadow:
            0 0 16px #9d77ff,
            0 0 28px #7f5af0b5,
            inset 0 0 12px #7f5af055;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    width: 100%;
    max-width: 900px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevate);
    padding: 40px 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.app-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

h1 {
    font-weight: 800;
    font-size: 2.4rem;
    margin-bottom: 35px;
    color: var(--accent);
    text-align: center;
    text-shadow: 0 0 10px rgba(127, 90, 240, 0.5);
    letter-spacing: 0.02em;
}

.file-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #5f3dc4);
    color: #fff;
    padding: 14px 28px;
    font-size: 1.15rem;
    border-radius: 14px;
    cursor: pointer;
    margin-bottom: 22px;
    transition: var(--transition);
    box-shadow: 0 5px 18px rgba(127, 90, 240, 0.45);
    text-align: center;
    width: 100%;
    max-width: 320px;
    user-select: none;
}

.file-label:hover,
.file-label:focus {
    background: linear-gradient(135deg, #5f3dc4, var(--accent));
    outline: none;
    box-shadow: 0 8px 24px rgba(127, 90, 240, 0.6);
    transform: translateY(-2px);
}

#filterInput {
    width: 100%;
    padding: 16px 22px;
    font-size: 1.1rem;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    margin-bottom: 36px;
    background: var(--bg-input);
    color: #d0d0f0;
    box-sizing: border-box;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.03em;
}

#filterInput::placeholder {
    color: #7a7e99;
}

#filterInput:focus {
    border-color: var(--accent);
    background: #35385a;
    outline: none;
    box-shadow: 0 0 16px rgba(127, 90, 240, 0.6);
}

.placeholder {
    color: #777b96;
    font-style: italic;
    text-align: center;
    padding: 50px 0;
    font-size: 1.2rem;
    user-select: none;
    font-weight: 500;
}

.info-box {
    margin-top: 12px;
    background-color: rgba(38, 40, 69, 0.9);
    border-left: 4px solid var(--accent);
    padding: 16px 22px;
    border-radius: 0 0 14px 14px;
    font-size: 0.95rem;
    color: #c4c6f9;
    user-select: text;
    line-height: 1.5;
    white-space: pre-wrap;
    display: none;
    font-family: 'Consolas', 'Courier New', monospace;
}

.right-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
}

.log-right {
    padding: 40px;
}

.mein-container {
    position: relative;
    padding: 20px;
    background: rgba(30, 30, 47, 0.9);
    border-radius: 14px;
    color: white;
    width: 300px;
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.mein-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.privacy-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.privacy-button:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.version-label {
    position: fixed;
    bottom: 20px;
    right: 15px;
    font-size: 0.85rem;
    color: #aaa;
    background: rgba(38, 40, 69, 0.8);
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-container, .mein-container, .file-label {
    animation: fadeIn 0.5s ease both;
}
