/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #374151;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.page-container {
    min-height: 100vh;
    position: relative;
    background-color: #ffffff;
}

/* Header Styles */
.header-banner {
    width: 100%;
    height: 256px;
    background-color: #111C44;
    padding-top: 58px;
    text-align: center;
}

.header-banner h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: lowercase; /* matching the design "validation form" */
}

@media (min-width: 768px) {
    .header-banner h1 {
        font-size: 40px;
    }
}

/* Main Content Styles */
.main-content {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    padding: 0 16px 48px 16px;
}

.card {
    width: 100%;
    max-width: 620px;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.card-content {
    padding: 32px;
}

.card-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.card-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Form Styles */
.validation-form {
    display: flex;
    flex-direction: column;
    gap: 24px; /* space-y-6 equivalent */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* space-y-2 equivalent */
}

label {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
}

.required {
    color: #dc2626;
}

input, select {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    color: #111827;
    outline: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    appearance: none; /* Remove default arrow for select */
}

input:focus, select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

input[type="file"] {
    padding-top: 8px; /* Adjust for file input alignment */
    background-color: #f3f4f6;
}

input[type="file"]::file-selector-button {
    margin-right: 16px;
    border: none;
    background: none;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

/* File List Styles */
.file-list {
    margin-top: 8px;
    font-size: 14px;
    color: #4b5563;
}

.file-list ul {
    list-style-type: none;
    padding-left: 0;
}

.file-list li {
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
}

.file-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b7280;
}

/* Status Message */
.status-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
}

.status-message.success {
    color: #059669;
}

.status-message.error {
    color: #dc2626;
}

/* Custom arrow for select inputs */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.form-actions {
    padding-top: 8px;
}

.submit-btn {
    width: 100%;
    background-color: #111C44;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.submit-btn:hover {
    background-color: #0d1533;
}

.submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.hidden {
    display: none;
}
