body {
    background-color: #f4f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

    .table th {
        background-color: #007bff;
        color: #fff;
    }

    .table td {
        vertical-align: middle;
    }

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    border-radius: 5px;
}

    .btn-info:hover {
        background-color: #117a8b;
        border-color: #117a8b;
    }

.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

    .form-control:focus, .form-select:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
    }

textarea.form-control {
    min-height: 200px; /* Larger textarea for JobDescription */
    resize: vertical; /* Allow vertical resizing only */
}

h2 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin-top: 2rem;
}

/* Preserve line breaks in Job Description display */
.job-description {
    white-space: pre-wrap; /* Preserve line breaks and wrap text */
    line-height: 1.6;
    font-size: 1rem;
    color: #343a40;
}
/* Existing styles */
/* Existing styles */
/* Existing styles */
/* Existing styles */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f4f8;
    color: #333;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

.job-description {
    white-space: pre-wrap;
    word-wrap: break-word;
    all: initial;
    font-family: 'Segoe UI', sans-serif;
    padding-left: 20px;
    padding-right: 20px;
}

    .job-description a {
        color: #007bff;
        text-decoration: none;
    }

        .job-description a:hover {
            text-decoration: underline;
        }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a90e2, #50e3c2);
    color: white;
    padding: 40px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .hero .btn {
        background-color: #fff;
        color: #4a90e2;
        font-weight: bold;
    }

/* Job Card Grid */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.job-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    position: relative;
}

    .job-card h5 {
        font-size: 1.2rem;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .job-card p {
        font-size: 0.9rem;
        color: #7f8c8d;
        margin-bottom: 15px;
    }

.job-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

    .job-actions .btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

        .job-actions .btn:hover {
            background-color: #e0e0e0;
        }

        .job-actions .btn i {
            margin: 0;
        }

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero {
        padding: 20px 10px;
    }

        .hero h2 {
            font-size: 1.8rem;
        }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        padding: 10px;
    }

    .job-actions {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
    }

    .btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}