/* General Page Styling */
body {
    background: #0b1220; /*  */
    font-family: Arial, sans-serif; /*  */
    color: #fff; /*  */
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar Styling - Fixed at the top */
.navbar {
    width: 100%;
    padding: 15px 50px;
    background: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid #1f2937;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #22c55e;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Main App Container */
.app {
    background: #111827; /*  */
    padding: 30px;
    border-radius: 18px; /*  */
    width: 100%; /* [cite: 3] */
    max-width: 420px; /* [cite: 3] */
    text-align: center;
    margin-top: 100px; /* Space for fixed navbar */
}

/* Drag and Drop Zone */
.drop-zone {
    border: 2px dashed #38bdf8;
    padding: 40px;
    border-radius: 15px;
    margin: 20px 0;
    cursor: pointer;
    transition: 0.3s;
}

.drop-zone:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* Controls & Buttons */
input[type="range"] {
    width: 100%; /* [cite: 3] */
    margin: 10px 0; /* [cite: 3] */
}

button {
    background: #22c55e; /* [cite: 4] */
    border: none; /* [cite: 4] */
    padding: 12px; /* [cite: 4] */
    width: 100%; /* [cite: 3] */
    border-radius: 10px; /* [cite: 4] */
    font-weight: bold; /* [cite: 4] */
    color: #fff;
    cursor: pointer; /* [cite: 4] */
    font-size: 16px;
}

/* Result Section */
.result-card {
    margin-top: 20px;
    padding: 15px;
    background: #1f2937;
    border-radius: 12px;
}

img {
    max-width: 100%; /* [cite: 5] */
    border-radius: 10px; /* [cite: 5] */
    margin-top: 15px; /* [cite: 5] */
    display: none; /* [cite: 5] */
}

.download-btn {
    display: none; /* [cite: 6] */
    margin-top: 10px; /* [cite: 6] */
    background: #38bdf8; /* [cite: 6] */
    padding: 10px; /* [cite: 6] */
    border-radius: 10px; /* [cite: 6] */
    color: #000; /* [cite: 6] */
    text-decoration: none; /* [cite: 6] */
    font-weight: bold;
}
#result-container {
    display: none;
}
