/* 🔥 Formular Container */
.jobassist-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;

    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* 🔹 Eingabefelder */
.jobassist-form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 🔹 Labels */
.jobassist-form-group label {
    font-size: 13px;
    margin-bottom: 5px;
    color: #666;
}

/* 🔹 Inputs */
.jobassist-form input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* 🔥 Fokus Effekt */
.jobassist-form input:focus {
    outline: none;
    border-color: #00bfa6;
    box-shadow: 0 0 0 2px rgba(0,191,166,0.2);
}

.jobassist-form select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
}

.jobassist-form select:focus {
    outline: none;
    border-color: #00bfa6;
    box-shadow: 0 0 0 2px rgba(0,191,166,0.2);
}

/* 🔥 Container für alle Jobs */
#jobassist-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#jobassist-results h3 {
    grid-column: 1 / -1;
    margin-top: 20px;
}

/* 🔹 einzelne Karte */
.jobassist-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jobassist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.jobassist-card.selected {
    border: 2px solid #00bfa6;
    background: #f0fffb;
}

.jobassist-card h4 {
    color: #222;
    margin-bottom: 5px;
}

/* Links schöner */
.jobassist-card a {
    color: #00bfa6;
    text-decoration: none;
    font-weight: 500;
}

.jobassist-card a:hover {
    text-decoration: underline;
}

.jobassist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jobassist-header h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.jobassist-body {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.jobassist-info {
    flex: 1;
}

.jobassist-info p + p {
    margin-top: 2px;
}

.jobassist-info .company {
    color: #00bfa6;
    font-weight: 600;
    margin: 2px 0;
}

.jobassist-info .address {
    color: #555;
    margin-bottom: 10px;
}

.jobassist-qr canvas {
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 4px;
    background: #fff;
}

.job-select {
    transform: scale(1.3);
    cursor: pointer;
    margin-top: 10px;
}

.jobassist-select label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.jobassist-select input {
    transform: scale(1.3);
    cursor: pointer;
}

/* 🔥 Hauptbutton (Speichern) */
#save-selected-jobs {
    background: #00bfa6;
    color: #fff;
    border: none;
    padding: 6px 10px; /* 🔥 kleiner */
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

#save-selected-jobs:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Hover Effekt */
#save-selected-jobs:hover {
    background: #009e8a;
    transform: translateY(-1px);
}

/* Löschen Button */
#delete-selected-jobs {
    background: #e53935;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

#delete-selected-jobs:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.jobassist-actionbar {
    position: fixed;
    bottom: 5px;

    left: 50%;                  /* 🔥 NEU */
    transform: translateX(-50%); /* 🔥 NEU */

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);

    border-radius: 10px;
    padding: 8px 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    z-index: 999;

     /* width: 90%;       */
    width: calc(100% - 40px);
    box-sizing: border-box;

    max-width: 900px;  /* optional größer */
   
    border: 1px solid #00bfa6;
    box-shadow: 0 4px 20px rgba(0,188,212,0.25);
}

.jobassist-actionbar-buttons {
    display: flex;
    gap: 10px;
}

.jobassist-actionbar button {
    white-space: nowrap;
}

#selected-count {
    font-size: 13px;
}

.jobassist-btn {
    background: #00bfa6;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jobassist-btn-primary {
    background: #00bfa6;
    color: #fff;
}

.jobassist-btn-primary:hover {
    background: #009e8a;
}

.jobassist-btn-secondary {
    background: #f1f1f1;
    color: #333;
}

.jobassist-btn-secondary:hover {
    background: #e2e2e2;
}

.jobassist-btn:hover {
    background: #009e8a;
    transform: translateY(-1px);
}

.jobassist-btn:disabled {
    background: #ccc;
    opacity: 0.5;
    cursor: not-allowed;
}

/*
.jobassist-btn-danger {
    background: #e53935;
}

.jobassist-btn-danger:hover {
    background: #c62828;
}
*/

.job-title-detail {
    font-size: 13px;
    color: #777;
    margin: 0 0 8px 0;
}

.jobassist-title h4 {
    margin: 0;
    font-size: 16px;
}

/* 🔥 Subline statt Badge */
.job-beruf-sub {
    font-size: 13px;
    color: #00bfa6;
    margin-top: 3px;
}


@media (max-width: 768px) {
    #jobassist-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .jobassist-form {
        flex-direction: column;
        align-items: stretch;
    }

    .jobassist-btn {
        width: 100%;
    }
}