/* Olana - Main Styles */

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e0e0;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.upload-form {
    background: #ffffff;
    padding: 18px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

input[type="text"],
select {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #000000;
}

input[type="file"] {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    box-sizing: border-box;
}

button {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 3px 6px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

button:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.footer {
    margin-top: 12px;
    text-align: center;
    color: #666;
    font-size: 0.75em;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Tablets and small laptops (max 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 30px;
    }

    h1 {
        font-size: 2em;
    }
}

/* Tablets portrait (max 768px) */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .container {
        padding: 25px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .upload-form {
        padding: 20px;
    }
}

/* Mobile devices (max 480px) */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
        border-radius: 15px;
    }

    h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 0.9em;
        margin-bottom: 20px;
    }

    .upload-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    input[type="text"],
    select {
        padding: 10px;
        font-size: 14px;
    }

    button {
        padding: 12px;
        font-size: 16px;
    }

    .footer {
        margin-top: 20px;
        font-size: 0.8em;
    }
}
