* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98) 0%, rgba(30, 30, 45, 0.98) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: slideIn 0.5s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.header {
    text-align: center;
    margin-bottom: 25px;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    animation: rotate 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(245, 73, 39, 0.6));
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #F54927 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 300;
}

.search-container {
    margin-bottom: 20px;
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#searchInput {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #F54927;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(245, 73, 39, 0.3);
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out;
}

.stat-item {
    flex: 1;
    background: rgba(245, 73, 39, 0.1);
    border: 1px solid rgba(245, 73, 39, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(245, 73, 39, 0.15);
    transform: translateY(-2px);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 5px;
}

.stat-value {
    color: #F54927;
    font-size: 20px;
    font-weight: 700;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jobs-grid::-webkit-scrollbar {
    width: 8px;
}

.jobs-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.jobs-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #F54927 0%, #FF8C42 100%);
    border-radius: 10px;
}

.job-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.6s ease-out backwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: scale(0.8) rotateY(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 73, 39, 0.2), transparent);
    transition: left 0.5s ease;
}

.job-card:hover::before {
    left: 100%;
}

.job-card:hover {
    border-color: #F54927;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(245, 73, 39, 0.3);
}

.job-card.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.job-card.locked:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.job-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-open {
    background: linear-gradient(135deg, #00C853 0%, #00E676 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 200, 83, 0);
    }
}

.badge-closed {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    color: white;
}

.badge-full {
    background: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%);
    color: white;
}

.job-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-info {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-bottom: 3px;
}

.info-value {
    color: #F54927;
    font-size: 14px;
    font-weight: 700;
}

.footer {
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.btn-close {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 40px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    border-color: #D32F2F;
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98) 0%, rgba(30, 30, 45, 0.98) 100%);
    border-radius: 20px;
    padding: 30px;
    width: 500px;
    max-width: 90%;
    border: 2px solid rgba(245, 73, 39, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(245, 73, 39, 0.3);
}

.modal-header h2 {
    color: #F54927;
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #D32F2F;
    transform: rotate(90deg);
}

.modal-info {
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid #F54927;
    transition: all 0.3s ease;
}

.info-row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.info-row .info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.info-row .info-value {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.btn-navigate-full {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #F54927 0%, #FF8C42 100%);
    color: white;
}

.btn-navigate-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 73, 39, 0.4);
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.no-jobs::before {
    content: '😔';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

