/* styles.css
   Put this in your /static/ folder
   Example design with distinct blocks, improved file input,
   and slightly more visible placeholder (where possible)
*/

html, body {
    margin: 0;
    padding: 0;
    background-color: #1C2A3E;
    color: #ffffff;
    font-family: Arial, sans-serif;
    min-height: 100%;
}

body {
    padding: 20px;
}

/* Headings */
h1, h2, h3 {
    margin-bottom: 10px;
    font-weight: normal;
}

a {
    color: #4ec3ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: #a0e9ff;
        text-decoration: underline;
    }

p {
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 16px;
}

li {
    margin-bottom: 6px;
}

/* Section blocks to group content with a slight background difference */
.section-block {
    background-color: rgba(255, 255, 255, 0.06);
    margin: 15px 0;
    padding: 15px;
    border-radius: 6px;
}

/* Forms & Inputs */
form {
    display: inline-block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"],
input[type="file"],
select {
    margin: 6px 0;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #000;
    font-size: 0.9rem;
}

    /* Attempt to override some default styles for file inputs
   to ensure better visibility. This can vary by browser. */
    input[type="file"]::-webkit-file-upload-button {
        background: #4ec3ff;
        color: #000;
        border: none;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

        input[type="file"]::-webkit-file-upload-button:hover {
            background: #78d4ff;
        }

    /* This part tries to style the text 'No file chosen',
   but it's generally controlled by the browser/OS. */
    input[type="file"]::file-selector-button {
        background: #4ec3ff;
        color: #000;
        border: none;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

        input[type="file"]::file-selector-button:hover {
            background: #78d4ff;
        }

/* Buttons */
input[type="submit"] {
    background-color: #4ec3ff;
    border: none;
    border-radius: 4px;
    color: #000;
    padding: 8px 14px;
    cursor: pointer;
    margin-top: 6px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

    input[type="submit"]:hover {
        background-color: #78d4ff;
    }

/* Hover / Focus states for text & password fields (optional) */
input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: #78d4ff;
    box-shadow: 0 0 4px rgba(72, 195, 255, 0.4);
}

/* Attempt to make 'No file chosen' appear in white text */
input[type="file"] {
    color: #ffffff !important; /* Fallback for some browsers */
    font-size: 0.9rem;
}

    /* For Chromium-based browsers */
    input[type="file"]::-webkit-file-upload-text {
        color: #ffffff !important;
    }

    /* For the 'choose file' button and text */
    input[type="file"]::-webkit-file-upload-button {
        background: #4ec3ff;
        color: #000;
        border: none;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

    /* Attempt to override 'No file chosen' color in other contexts */
    input[type="file"]::file-selector-button {
        background: #4ec3ff;
        color: #000;
        border: none;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
    }

input[type="file"]::-webkit-file-upload-button:hover,
        input[type="file"]::file-selector-button:hover {
            background: #78d4ff;
        }

/* Progress bar for uploads */
progress {
    width: 100%;
    height: 18px;
    margin-top: 8px;
}

/* Login info banner top-right */
.login-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(78, 195, 255, 0.2);
    padding: 6px 10px;
    border-radius: 4px;
}
