/* Reset some default styles */
body, h1, h2, label, input, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(120deg, #e0eafc, #cfdef3 100%);
    min-height: 100vh;
    padding: 40px 0;
}

h1 {
    text-align: center;
    color: #2d3a4b;
    margin-bottom: 30px;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.12);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 380px;
    width: 100%;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.box:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18);
}

.box h2 {
    color: #3a506b;
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #5c677d;
    font-size: 1rem;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="file"] {
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 16px;
    border: 1px solid #bfc9d1;
    border-radius: 8px;
    font-size: 1rem;
    background: #f7fafc;
    transition: border 0.2s;
}
input[type="text"]:focus,
input[type="number"]:focus {
    border: 1.5px solid #3a506b;
    outline: none;
}

button[type="submit"] {
    background: linear-gradient(90deg, #5f76e8, #845ef7);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
button[type="submit"]:hover {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.13);
}

.drop-zone {
    border: 2px dashed #5f76e8;
    border-radius: 10px;
    padding: 28px 12px;
    text-align: center;
    background: #f7fafc;
    color: #5c677d;
    cursor: pointer;
    margin-bottom: 12px;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.drop-zone.dragover {
    border-color: #845ef7;
    background: #e0eafc;
}
.drop-zone-text {
    font-size: 1rem;
    color: #5c677d;
    pointer-events: none;
}

.mode-select {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 32px;
}
.mode-select button {
    background: #f7fafc;
    color: #3a506b;
    border: 2px solid #5f76e8;
    border-radius: 8px;
    padding: 10px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.mode-select button.active, .mode-select button:hover {
    background: linear-gradient(90deg, #5f76e8, #845ef7);
    color: #fff;
    border: 2px solid #845ef7;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .box {
        min-width: 260px;
        max-width: 98vw;
    }
}
