/* css/styles.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(255, 255, 255, 0.90);
    padding: 30px;
    border-radius: 8px;
    max-width: 700px; /* Increased width for larger dropzone */
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo Styling */
.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 140px;
    height: auto;
}

/* Headings */
h2, h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.passcode-form, .upload-form, .logout-form {
    display: flex;
    flex-direction: column;
}

input[type="password"], input[type="file"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

button {
    padding: 10px;
    background-color: #e85221; /* Updated button color */
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #cf481a;
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.upload-section {
    margin-bottom: 30px;
}

.dropzone {
    border: 3px dashed #e85221; /* Thicker border for better visibility */
    border-radius: 8px;
    padding: 40px; /* Increased padding for a larger area */
    text-align: center;
    color: #999;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

.dropzone.dragover {
    background-color: rgba(232, 82, 33, 0.1);
    border-color: #cf481a;
    color: #333;
}

.dropzone input[type="file"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.uploaded-files {
    margin-top: 30px;
}

.uploaded-files ul {
    list-style-type: none;
}

.uploaded-files li {
    margin-bottom: 10px;
}

.copy-btn {
    background-color: #4CAF50; /* Distinct color for copy buttons */
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #45a049;
}

.logout-form {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .logo img {
        max-width: 150px;
    }

    button {
        font-size: 14px;
    }

    .copy-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .dropzone {
        padding: 25px; /* Adjust padding for smaller screens */
    }
}
