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

body {
    font-family: 'Arial', sans-serif;
    background-color: #e0e5ec;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* Centered Upload Box */
.upload-container {
    background-color: #e0e5ec;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.7);
    width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
h1 {
    font-size: 34px;
    margin-bottom: 30px;
    color: #333;
}

/* Input field container */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Labels */
label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

/* Input fields and buttons - uniform width and font */
input[type="text"], input[type="file"], .upload-btn, .rules-btn, .custom-file-label {
    width: 80%; /* Same width for all */
    max-width: 300px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: #e0e5ec;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1), 
                inset -5px -5px 10px rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px; /* Increased spacing between elements */
    font-family: 'Arial', sans-serif;
}

/* Input focus effect */
input[type="text"]:focus, input[type="file"]:focus {
    outline: none;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), 
                inset -5px -5px 10px rgba(255, 255, 255, 0.5);
}

/* Center the logo */
.header-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

/* Neumorphic Buttons */
button, .rules-btn, .upload-btn, .custom-file-label {
    display: inline-block;
    background: #e0e0e0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15), 
                -5px -5px 10px rgba(255, 255, 255, 0.8);
    padding: 12px;
    border-radius: 10px;
    border: none;
}

button:hover, .rules-btn:hover, .upload-btn:hover, .custom-file-label:hover {
    background: #d6d6d6;
    box-shadow: 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
}

button:active, .rules-btn:active, .upload-btn:active, .custom-file-label:active {
    background: #c0c0c0;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), 
                inset -4px -4px 8px rgba(255, 255, 255, 0.4);
    transform: scale(0.98);
}

.neo-card {
    background: #e0e5ec;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1), -8px -8px 15px rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* File input button styling */
input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"]::before {
    content: "Attach your dailies";
    display: inline-block;
    background-color: #ff1313; /* Medium Dark Blue */
    color: #242424;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    transition: 0.3s;
}

/* Center everything */
.file-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

/* Hide the default file input */
input[type="file"] {
    display: none;
}

/* Custom upload button */
.custom-file-label {
    background-color: #e0e5ec; /* Medium Dark Blue */
    color: #414141;
    cursor: pointer;
}

.upload-btn {
    background-color: #58baff; /* Lighter Blue */
    color: #fff;
}

.upload-btn:hover {
    background-color: #ff6db8;
}

.rules-btn {
    background-color: #e0e5ec; /* Slightly Darker Blue */
    color: #414141;
}
.rules-btn:hover {
    background-color: #d6d6d6;
}

.upload-btn:active {
    background-color: red; /* Change to red when pressed */
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), 
                inset -4px -4px 8px rgba(255, 255, 255, 0.4);
    transform: scale(0.98); /* Slight press effect */
}
