.job-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



.logo h1 {
    color: #007bff;
    font-size: 1.5rem;
}



.job-header {
    text-align: center;
    margin-bottom: 30px;
}

.job-header h1 {
    color: #333;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.reset-group {
    min-width: auto;
    flex: 0;
    margin-left: auto;
    padding: 0 10px;
}

.reset-btn {
    background-color: #fff;
    color: #2196F3;
    border: 1px solid #2196F3;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    justify-content: center;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background-color: #2196F3;
    color: white;
    border-color: #2196F3;
    box-shadow: 0 2px 5px rgba(33, 150, 243, 0.2);
}

.reset-btn:active {
    transform: translateY(1px);
}

.reset-btn i {
    font-size: 14px;
    color: #2196F3;
}

.reset-btn i {
    font-size: 14px;
}

/* Align reset button with other filters */
.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 200px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
    font-size: 0.9em;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
    color: #666;
    background-color: #fff;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.reset-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-top: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.job-header {
    margin-bottom: 15px;
}

.job-header h3 {
    color: #333;
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.job-header span {
    color: #666;
    font-size: 0.9em;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.job-info span {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    color: #666;
}

@media (max-width: 1200px) {
    .job-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-list {
        grid-template-columns: 1fr;
    }
    
    .job-card {
        padding: 15px;
    }
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.job-card .company {
    color: #666;
    margin-bottom: 10px;
}

.job-card .location {
    color: #666;
    margin-bottom: 10px;
}

.job-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.tag {
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close {
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    margin-bottom: 20px;
}

.apply-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    text-align: center;
}

.apply-btn:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.save-btn {
    background-color: #FFC107;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    text-align: center;
}

.save-btn:hover {
    background-color: #F5A623;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.job-actions button {
    margin: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Apply Modal Styles */
.apply-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.apply-modal .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.job-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 10px;
    border-top: 1px solid #eee;
}

.job-actions button {
    flex: 1;
    max-width: 150px;
    text-align: center;
}

.job-actions .apply-btn {
    margin-right: 10px;
}

.job-actions .save-btn {
    margin-left: 10px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.modal-actions button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-actions button:first-child {
    background-color: #2196F3;
    color: white;
}

.modal-actions button:last-child {
    background-color: #f44336;
    color: white;
}

.modal-actions button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
        min-width: 100%;
    }
}
