body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.form-container {
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 450px;
    transition: all 0.3s ease;
}

.form-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #0d47a1;
    font-size: 26px;
    letter-spacing: 0.5px;
}

.form-container label {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    display: block;
}

.form-container input {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-container input:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 5px rgba(25, 118, 210, 0.3);
}

.form-container input[type="file"] {
    padding: 5px;
}

.form-container button {
    width: 100%;
    padding: 14px;
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.form-container button:hover {
    background: #0d47a1;
}

.message {
    text-align: center;
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}


/* Text color classes */
.text-danger {
    color: #ff0000 !important;
    font-weight: bold;
}

.text-warning {
    color: #ff9800 !important;
    font-weight: bold;
}

.text-success {
    color: #2e7d32 !important;
    font-weight: bold;
}

.hidden-data {
    color: #bdbdbd;
    font-weight: bold;
}
/* Match select exactly with input width */
.form-container select {
    display: block;
    width: 107%;
    padding: 12px 15px;
    margin: 12px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: border-color 0.3s;
    background-color: #fff;
    appearance: none; /* Removes default arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548l4.484 4.484 4.484-4.484L15.484 9l-6 6-6-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
    box-sizing: border-box; /* Ensures consistent total width */
}

.form-container select:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 5px rgba(25, 118, 210, 0.3);
}
