  * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", Arial, sans-serif;
    }

    body {
        background-color: gray;
        color: #ffffff;
    }

    .container {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

    h2 {
        font-size: 35px;
        font-weight: 600;
        margin-bottom: 25px;
    }

    .table {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.25);
    }

    .row {
        display: grid;
        grid-template-columns: 3fr 2fr 2fr 1fr;
        padding: 18px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        align-items: center;
    }

    .header {
        font-weight: 600;
        color: #e5e5e5;
       
    }

    .row div {
        font-size: 20px;
    }

    .link {
        color: #ffffff;
        cursor: pointer;
        font-weight: 500;
        background: none;
        border: none;
        padding: 0;
    }

    .link:hover {
        text-decoration: underline;
    }

    .closed {
        color: #b5b5b5;
        font-weight: 500;
    }

    /* MOBILE */
    @media (max-width: 768px) {
        .row {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 20px 0;
            
        }

        .header {
            display: none;
        }

        .row div:nth-child(1)::before {
            content: "Position";
            display: block;
            font-size: 16px;
            color: black;
            margin-bottom: 4px;
           
            padding: 20px;
            width: 250px;
        }

        .row div:nth-child(2)::before {
            content: "Type of job";
            display: block;
           color: black;
            margin-bottom: 4px;
       
            padding: 20px;
            width: 250px;
        }

        .row div:nth-child(3)::before {
            content: "Posted date";
            display: block;
          color: black;
            margin-bottom: 4px;
          
            padding: 20px;
            width: 250px;
        }
    }

    /* ============================= */
    /* POPUP FORM (MINIMAL STYLING) */
    /* ============================= */

    #jobFormPopup {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .popup-content {
        background: darkgray;
        padding: 25px;
        width: 100%;
        max-width: 420px;
        border-radius: 6px;
        position: relative;
    }

    #closePopup {
        position: absolute;
        top: 10px;
        right: 12px;
        background: none;
        border: none;
        font-size: 22px;
        color: black;
        cursor: pointer;
    }

    .popup-content form div {
        margin-bottom: 12px;
    }

    .popup-content label {
        font-size: 13px;
        display: block;
        margin-bottom: 5px;
        color: black;
    }

    .popup-content input {
        width: 100%;
        padding: 8px;
        background: #2a2a2a;
        border: 1px solid #444;
        color: #fff;
    }

    .popup-content button[type="submit"] {
        width: 100%;
        padding: 10px;
        margin-top: 10px;
        background: #ffffff;
        color: #000;
        border: none;
        cursor: pointer;
        font-weight: 600;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .popup-content p {
        font-size: 12px;
        color: #aaa;
        margin-top: 10px;
        text-align: center;
    }