:root {
    --h-primary: #f37021; /* Exact Yashoda Orange */
    --h-secondary: #d35400;
    --h-accent: #ff8c00;
    --h-bg: #fffbf8;
    --h-card: #ffffff;
    --h-text: #2d2d2d;
    --h-muted: #717171;
    --h-border: #fde6d8;
    --h-shadow: 0 10px 25px -5px rgba(243, 112, 33, 0.15);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--h-bg);
    color: var(--h-text);
    line-height: 1.5;
    padding: 1rem;
}

.healthcare-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(251, 146, 60, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--h-card);
    border-radius: 16px;
    box-shadow: var(--h-shadow);
    overflow: hidden;
    border: 1px solid var(--h-border);
}

.main-header {
    background: var(--h-primary);
    color: white;
    padding: 1.5rem 1.5rem;
    text-align: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hospital-logo {
    width: 54px;
    height: 54px;
    background: white;
    padding: 4px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hospital-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.main-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.main-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.upload-guidelines {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.upload-guidelines .separator {
    opacity: 0.5;
}

.info-section {
    padding: 1.5rem 2rem;
    background: #fdf2f2; /* Very soft warm bg */
    border-bottom: 1px solid var(--h-border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-box {
    display: flex;
    flex-direction: column;
}

.info-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--h-muted);
    margin-bottom: 0.25rem;
}

.info-box .value {
    font-weight: 600;
    color: var(--h-primary);
}

.form-section {
    padding: 1rem 1.5rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--h-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--h-border);
}

.upload-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.upload-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--h-border);
    border-radius: 10px;
    transition: all 0.2s;
}

.upload-row:hover {
    border-color: var(--h-accent);
    background: #fffaf0;
}

.row-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff7ed;
    color: var(--h-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.row-info {
    flex-grow: 1;
}

.row-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--h-text);
}

.row-info p {
    font-size: 0.85rem;
    color: var(--h-muted);
}

.file-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--h-primary);
    transition: all 0.2s;
    min-width: 150px;
    justify-content: center;
}

.file-btn:hover {
    border-color: var(--h-secondary);
    background: #fff7ed;
}

.file-btn input[type="file"] {
    display: none;
}

.file-btn .btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--h-primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-group {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid white;
    transition: all 0.2s;
    z-index: 2;
}

.remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.form-footer {
    padding: 1.5rem;
    background: #fff7ed;
    text-align: center;
}

.submit-btn {
    width: 100%;
    background: var(--h-primary);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: var(--h-secondary);
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.2);
}

.submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Mobile Responsiveness */
@media (max-width: 640px) {
    body { padding: 0.5rem; }
    .container { margin: 0; border-radius: 0; }
    .main-header { padding: 2rem 1rem; }
    .info-section { padding: 1rem; }
    .info-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .upload-row { flex-direction: column; align-items: stretch; gap: 1rem; }
    .row-icon { margin: 0 0 0.5rem 0; }
    .action-group { width: 100%; }
    .file-btn { width: 100%; }
}

.hidden { display: none !important; }

.status-message {
    padding: 4rem 2rem;
    text-align: center;
}

.submitted-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #16a34a; /* Success Green */
    background: #f0fdf4;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #bcf0da;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.support-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--h-muted);
}
