<style>
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            :root {
                --primary: #9a1b5a;
                --primary-light: #d64a8a;
                --primary-dark: #6b1442;
                --accent-purple: #7b2d8f;
                --bg-light: #faf7fc;
                --bg-white: #ffffff;
                --text-dark: #2d1b2e;
                --text-muted: #7a6b7e;
                --border-color: #e8e0f0;
                --success: #10b981;
                --warning: #f59e0b;
                --danger: #ef4444;
            }
            html {
                scroll-behavior: smooth;
            }
            body {
                font-family:
                    "Segoe UI",
                    -apple-system,
                    BlinkMacSystemFont,
                    "Roboto",
                    "Helvetica Neue",
                    Arial,
                    sans-serif;
                background: linear-gradient(135deg, #faf7fc 0%, #fff5fa 100%);
                min-height: 100vh;
                padding: 20px;
                color: var(--text-dark);
                line-height: 1.6;
            }
            .container {
                max-width: 1400px;
                margin: 0 auto;
            }
            header {
                text-align: center;
                margin-bottom: 50px;
                animation: slideDownIn 0.6s ease-out;
            }
            @keyframes slideDownIn {
                from {
                    opacity: 0;
                    transform: translateY(-30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            header h1 {
                font-size: 2.0em;
                font-weight: 700;
                margin-bottom: 12px;
                background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                letter-spacing: -1px;
            }
            header p {
                font-size: 1.15em;
                color: var(--text-muted);
                font-weight: 400;
                letter-spacing: 0.3px;
            }
            .alert {
                padding: 16px 20px;
                border-radius: 12px;
                margin-bottom: 20px;
                display: none;
                border-left: 4px solid transparent;
                animation: slideInDown 0.3s ease-out;
                font-weight: 500;
            }
            @keyframes slideInDown {
                from {
                    opacity: 0;
                    transform: translateY(-20px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            .alert.show {
                display: block;
            }
            .alert-success {
                background: #d1f4e8;
                color: #065f46;
                border-left-color: var(--success);
            }
            .alert-error {
                background: #fee2e2;
                color: #7f1d1d;
                border-left-color: var(--danger);
            }
            .alert-info {
                background: #dbeafe;
                color: #1e3a8a;
                border-left-color: #3b82f6;
            }
            .main-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 28px;
                margin-bottom: 40px;
            }
            .card {
                background: var(--bg-white);
                border-radius: 16px;
                padding: 32px;
                box-shadow: 0 4px 20px rgba(154, 27, 90, 0.08);
                border: 1px solid var(--border-color);
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .card:hover {
                transform: translateY(-8px);
                box-shadow: 0 12px 40px rgba(154, 27, 90, 0.15);
                border-color: var(--primary-light);
            }
            .card h2 {
                margin-bottom: 24px;
                color: var(--primary);
                font-size: 1.6em;
                font-weight: 700;
                display: flex;
                align-items: center;
                gap: 12px;
                letter-spacing: -0.5px;
            }
            .card h2 i {
                font-size: 1.3em;
                opacity: 0.9;
            }
            .upload-area {
                border: 2px dashed var(--primary);
                border-radius: 12px;
                padding: 48px 30px;
                text-align: center;
                cursor: pointer;
                background: linear-gradient(135deg, rgba(250, 247, 252, 0.8) 0%, rgba(255, 245, 250, 0.8) 100%);
                transition: all 0.3s ease;
                position: relative;
                overflow: hidden;
            }
            .upload-area::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: radial-gradient(circle at 30% 30%, rgba(154, 27, 90, 0.03) 0%, transparent 60%);
                pointer-events: none;
            }
            .upload-area:hover {
                border-color: var(--primary-light);
                background: linear-gradient(135deg, rgba(214, 74, 138, 0.05) 0%, rgba(255, 230, 245, 0.1) 100%);
            }
            .upload-area.dragover {
                background: linear-gradient(135deg, rgba(214, 74, 138, 0.1) 0%, rgba(255, 230, 245, 0.15) 100%);
                border-color: var(--accent-purple);
                transform: scale(1.02);
            }
            .upload-area p {
                margin: 10px 0;
                color: var(--text-muted);
                position: relative;
                z-index: 1;
            }
            .upload-area p:first-child {
                font-size: 1.15em;
                font-weight: 600;
                color: var(--primary);
                margin-bottom: 8px;
            }
            .upload-area input[type="file"] {
                display: none;
            }
            .btn {
                display: inline-block;
                padding: 12px 24px;
                border: none;
                border-radius: 10px;
                font-size: 0.95em;
                cursor: pointer;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                font-weight: 600;
                letter-spacing: 0.3px;
                position: relative;
                overflow: hidden;
            }
            .btn::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.3);
                transform: translate(-50%, -50%);
                transition:
                    width 0.6s,
                    height 0.6s;
            }
            .btn:active::before {
                width: 300px;
                height: 300px;
            }
            .btn-primary {
                background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
                color: white;
                box-shadow: 0 4px 15px rgba(154, 27, 90, 0.3);
            }
            .btn-primary:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(154, 27, 90, 0.4);
            }
            .btn-secondary {
                background: linear-gradient(135deg, var(--bg-light) 0%, #f0e6fb 100%);
                color: var(--primary);
                border: 1.5px solid var(--border-color);
            }
            .btn-secondary:hover {
                background: linear-gradient(135deg, #f0e6fb 0%, #e8d5f5 100%);
                border-color: var(--primary);
                transform: translateY(-2px);
            }
            .btn-danger {
                background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
                color: white;
                box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
            }
            .btn-danger:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
            }
            .btn:disabled {
                opacity: 0.5;
                cursor: not-allowed;
                transform: none !important;
            }
            .job-input {
                display: flex;
                gap: 12px;
                margin-bottom: 20px;
            }
            .job-input input {
                flex: 1;
                padding: 12px 16px;
                border: 1.5px solid var(--border-color);
                border-radius: 10px;
                font-size: 0.95em;
                background: var(--bg-white);
                color: var(--text-dark);
                transition: all 0.3s ease;
            }
            .job-input input:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(154, 27, 90, 0.1);
            }
            .job-item {
                background: linear-gradient(135deg, var(--bg-light) 0%, rgba(250, 247, 252, 0.7) 100%);
                padding: 16px;
                border-radius: 12px;
                margin-bottom: 12px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-left: 4px solid var(--primary);
                transition: all 0.3s ease;
            }
            .job-item:hover {
                box-shadow: 0 4px 15px rgba(154, 27, 90, 0.1);
                transform: translateX(4px);
            }
            .job-item-title {
                font-weight: 600;
                color: var(--primary);
                font-size: 1.05em;
            }
            .job-item-description {
                font-size: 0.9em;
                color: var(--text-muted);
                margin-top: 4px;
            }
            .candidates-section {
                grid-column: 1 / -1;
            }
            .candidates-table {
                width: 100%;
                border-collapse: collapse;
                margin-top: 24px;
                font-size: 0.95em;
            }
            .candidates-table thead {
                background: linear-gradient(135deg, var(--bg-light) 0%, rgba(250, 247, 252, 0.7) 100%);
            }
            .candidates-table th {
                padding: 16px;
                text-align: left;
                color: var(--primary);
                font-weight: 700;
                border-bottom: 2px solid var(--primary);
                letter-spacing: 0.3px;
            }
            .candidates-table td {
                padding: 16px;
                border-bottom: 1px solid var(--border-color);
            }
            .candidates-table tbody tr {
                transition: all 0.3s ease;
            }
            .candidates-table tbody tr:hover {
                background: linear-gradient(90deg, rgba(250, 247, 252, 0.5) 0%, rgba(255, 245, 250, 0.5) 100%);
            }
            .score-badge {
                display: inline-block;
                padding: 8px 16px;
                border-radius: 20px;
                font-weight: 700;
                font-size: 0.9em;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            .score-badge.high {
                background: linear-gradient(135deg, #d1f4e8 0%, #a7f3d0 100%);
                color: #065f46;
                box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
            }
            .score-badge.medium {
                background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
                color: #92400e;
                box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
            }
            .score-badge.low {
                background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
                color: #7f1d1d;
                box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
            }
            .progress-bar {
                width: 100%;
                height: 6px;
                background: var(--border-color);
                border-radius: 3px;
                overflow: hidden;
                margin-top: 6px;
            }
            .progress-fill {
                height: 100%;
                background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
                transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-radius: 3px;
            }
            .skills-list {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                margin-top: 8px;
            }
            .skill-tag {
                background: linear-gradient(135deg, rgba(154, 27, 90, 0.08) 0%, rgba(214, 74, 138, 0.08) 100%);
                color: var(--primary);
                padding: 6px 14px;
                border-radius: 20px;
                font-size: 0.85em;
                font-weight: 600;
                border: 1px solid rgba(154, 27, 90, 0.2);
                transition: all 0.3s ease;
            }
            .skill-tag:hover {
                background: linear-gradient(135deg, rgba(154, 27, 90, 0.15) 0%, rgba(214, 74, 138, 0.15) 100%);
                border-color: var(--primary);
            }
            .status-badge {
                display: inline-block;
                padding: 6px 14px;
                border-radius: 8px;
                font-size: 0.85em;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 0.4px;
            }
            .status-new {
                background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
                color: #1e40af;
                box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
            }
            .status-screening {
                background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
                color: #92400e;
                box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
            }
            .status-shortlist {
                background: linear-gradient(135deg, #d1f4e8 0%, #a7f3d0 100%);
                color: #065f46;
                box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
            }
            .status-rejected {
                background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
                color: #7f1d1d;
                box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
            }
            .loading {
                text-align: center;
                padding: 30px;
                color: var(--primary);
            }
            .spinner {
                border: 4px solid var(--border-color);
                border-top: 4px solid var(--primary);
                border-radius: 50%;
                width: 48px;
                height: 48px;
                animation: spin 1s linear infinite;
                margin: 0 auto 16px;
            }
            @keyframes spin {
                0% {
                    transform: rotate(0deg);
                }
                100% {
                    transform: rotate(360deg);
                }
            }
            .modal {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(45, 27, 46, 0.6);
                backdrop-filter: blur(4px);
                z-index: 1000;
                align-items: center;
                justify-content: center;
                animation: fadeIn 0.3s ease-out;
            }
            @keyframes fadeIn {
                from {
                    opacity: 0;
                }
                to {
                    opacity: 1;
                }
            }
            .modal.active {
                display: flex;
            }
            .modal-content {
                background: var(--bg-white);
                padding: 36px;
                border-radius: 20px;
                max-width: 650px;
                width: 90%;
                max-height: 85vh;
                overflow-y: auto;
                box-shadow: 0 20px 60px rgba(154, 27, 90, 0.2);
                animation: slideUpIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
            @keyframes slideUpIn {
                from {
                    opacity: 0;
                    transform: translateY(30px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
            .modal-header {
                font-size: 1.6em;
                font-weight: 700;
                color: var(--primary);
                margin-bottom: 24px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .modal-close {
                font-size: 1.8em;
                cursor: pointer;
                color: var(--text-muted);
                transition: all 0.3s ease;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
            }
            .modal-close:hover {
                color: var(--primary);
                background: var(--bg-light);
            }
            .tabs {
                display: flex;
                gap: 4px;
                border-bottom: 2px solid var(--border-color);
                margin-bottom: 24px;
            }
            .tab {
                padding: 14px 22px;
                cursor: pointer;
                font-weight: 600;
                color: var(--text-muted);
                border-bottom: 3px solid transparent;
                margin-bottom: -2px;
                transition: all 0.3s ease;
                font-size: 0.95em;
                letter-spacing: 0.3px;
            }
            .tab:hover {
                color: var(--primary);
            }
            .tab.active {
                color: var(--primary);
                border-bottom-color: var(--primary);
            }
            .tab-content {
                display: none;
                animation: fadeIn 0.3s ease-out;
            }
            .tab-content.active {
                display: block;
            }
            .screening-select-row {
                display: flex;
                gap: 12px;
                margin-bottom: 16px;
            }
            .screening-select-row select {
                flex: 1;
                padding: 12px 16px;
                border: 1.5px solid var(--border-color);
                border-radius: 10px;
                font-size: 0.95em;
                background: var(--bg-white);
                color: var(--text-dark);
                transition: all 0.3s ease;
            }
            .screening-select-row select:focus {
                outline: none;
                border-color: var(--primary);
                box-shadow: 0 0 0 3px rgba(154, 27, 90, 0.1);
            }
            .screening-result-box {
                background: linear-gradient(135deg, var(--bg-light) 0%, rgba(250, 247, 252, 0.7) 100%);
                padding: 18px;
                border-radius: 12px;
                border-left: 4px solid var(--primary);
            }
            .screening-result-box ul {
                margin: 8px 0 0 20px;
                color: var(--text-dark);
            }
            .screening-result-box ul li {
                margin: 6px 0;
            }
            .screening-empty {
                color: var(--text-muted);
                font-size: 0.95em;
            }
            @media (max-width: 768px) {
                .main-grid {
                    grid-template-columns: 1fr;
                    gap: 20px;
                }
                header h1 {
                    font-size: 2.2em;
                }
                .card {
                    padding: 24px;
                }
                .candidates-table {
                    font-size: 0.85em;
                }
                .candidates-table th,
                .candidates-table td {
                    padding: 12px 8px;
                }
                .modal-content {
                    padding: 24px;
                }
                .upload-area {
                    padding: 32px 20px;
                }
            }
        </style>