body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

h2 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #4facfe;
}

p {
    font-size: 0.9rem;
    color: #b0b0b0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

input[type="file"], input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: white;
}

button {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

.result {
    margin-top: 15px;
    text-align: center;
}

.result video, .result img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.canvas-container {
    position: relative;
    margin-top: 10px;
}

#inpaint-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0.7;
}
