/* Main Form Container */
.logic-ui {
    background: #232324; /* Dark elegant background */
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Soft shadow for a floating look */
    max-width: 600px;
    margin: 100px auto;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    border: 1px solid #444;
}

/* Heading */
.logic-ui h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #0a84ff;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Input fields and Textarea */
.logic-ui input[type="text"],
.logic-ui textarea,
.logic-ui input[type="file"] {
    background: #2a2a2e; /* Slightly lighter for input fields */
    border: 1px solid #444;
    padding: 15px;
    width: 100%;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hover effect for input fields */
.logic-ui input[type="text"]:hover,
.logic-ui textarea:hover,
.logic-ui input[type="file"]:hover {
    border-color: #0a84ff;
    background: #333;
}

/* Submit Button */
.logic-ui input[type="submit"] {
    background: linear-gradient(145deg, #0a84ff, #005aff); /* Gradient for a richer look */
    border: none;
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover effect for submit button */
.logic-ui input[type="submit"]:hover {
    background: linear-gradient(145deg, #005aff, #0a84ff); /* Subtle change on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Adding shadow for depth */
}

/* Progress bar */
#progressBar {
    width: 100%;
    height: 10px;
    background: #555;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adding depth */
}

/* Progress bar fill */
#progressBar div {
    height: 100%;
    width: 0%;
    background: #0a84ff;
    transition: width 0.3s;
}

/* Status message */
#statusMsg {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
}

/* Responsive Design: Form container on small screens */
@media screen and (max-width: 600px) {
    .logic-ui {
        padding: 30px 20px;
    }

    .logic-ui h2 {
        font-size: 24px;
    }

    .logic-ui input[type="text"],
    .logic-ui textarea,
    .logic-ui input[type="file"],
    .logic-ui input[type="submit"] {
        font-size: 14px;
    }
}
