/* ========================================
   Job Market System
   ======================================== */

div.job-archive-page {
    padding-top: 0!important;
}

/* Job Archive Header */
.job-archive-page .page-header {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.job-archive-page .page-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
}

.job-archive-page .archive-description {
    font-size: 18px;
    color: #666;
    margin: 0 0 20px 0;
}

.job-header-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-post-job,
.btn-my-jobs,
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Job Filters */
.job-filter-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border: 2px solid #77b638;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(119, 182, 56, 0.1);
}

/* Full-width Search Row */
.job-search-row {
    margin-bottom: 20px;
}

.job-search-row .filter-item {
    width: 100%;
}

/* Search Input Wrapper */
.search-input-wrapper {
    position: relative;
    display: flex;
    gap: 10px;
}

.search-input-wrapper .job-search-input {
    flex: 1;
}

/* Search Button */
.job-search-btn {
    padding: 12px 20px;
    background: #77b638;
    color: #fff;
    border: 2px solid #77b638;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Roboto Flex', sans-serif;
    white-space: nowrap;
}

.job-search-btn:hover {
    background: #6aa030;
    border-color: #6aa030;
    transform: translateY(-1px);
}

.job-search-btn:active {
    transform: translateY(0);
}

.job-search-btn svg {
    width: 16px;
    height: 16px;
}

/* Filter Grid Below Search */
.job-filter-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.job-filter-wrapper .filter-item {
    display: flex;
    flex-direction: column;
}

.job-filter-wrapper .filter-item label,
.job-search-row .filter-item label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

select.job-filter-select {
    appearance: none!important;
}

.job-search-input,
.job-filter-input,
.job-filter-select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #fff;
    font-family: 'Roboto Flex', sans-serif;
}

.job-search-input:focus,
.job-filter-input:focus,
.job-filter-select:focus {
    outline: none;
    border-color: #77b638;
}

.job-filter-select {
    cursor: pointer;
}

/* Reset Button */
.btn-reset-filters {
    display: none; /* Hidden by default, shown when filters active */
    padding: 12px 20px;
    background: #fff;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto Flex', sans-serif;
}

.btn-reset-filters.visible {
    display: inline-block;
}

.btn-reset-filters:hover {
    background: #f8f9fa;
    border-color: #77b638;
    color: #77b638;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Job Card */
.job-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.job-card.job-expired {
    opacity: 0.7;
}

.job-expired-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.job-card-header {
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: flex-start;
}

.job-company-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-card-title-area {
    flex: 1;
}

.job-card-title {
    font-size: 20px;
    margin: 0 0 8px 0;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.3;
}

.job-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.job-card-title a:hover {
    color: #77b638;
}

.job-company-name {
    font-size: 15px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.job-card-meta {
    padding: 0 20px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-card-meta i {
    color: #77b638;
    font-size: 13px;
}

.job-location,
.job-type,
.job-salary {
    white-space: nowrap;
}

.job-card-excerpt {
    padding: 0 20px;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.job-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    margin-top: auto;
}

.job-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.job-category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e9ecef;
    color: #495057;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.job-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-deadline {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-deadline i {
    color: #77b638;
}

.job-details-link {
    color: #77b638;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.job-details-link:hover {
    color: #5a8a29;
}

.job-details-link i {
    transition: transform 0.3s;
}

.job-details-link:hover i {
    transform: translateX(3px);
}

/* Single Job Page */
.job-single {
    max-width: 1000px;
    margin: 0 auto;
}

.job-expired-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.job-expired-notice i {
    font-size: 24px;
    color: #ffc107;
}

.job-header {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.job-header-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.job-company-logo-large {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
}

.job-company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-header-text {
    flex: 1;
}

.job-title {
    font-size: 36px;
    margin: 0 0 10px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
}

.job-company-name-large {
    font-size: 20px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.job-meta-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta-item i {
    color: #77b638;
    font-size: 16px;
}

.job-deadline-meta {
    background: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #77b638;
}

.job-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #77b638;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.job-apply-button-top {
    text-align: center;
    margin-top: 20px;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px !important;
    padding: 15px 40px !important;
}

.btn-apply i {
    font-size: 20px;
}

/* Job Owner Actions (Edit button on single job page) */
.job-owner-actions {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.btn-edit-job {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-content-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.job-description,
.job-requirements,
.job-benefits,
.job-contact-info,
.job-apply-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.job-apply-section {
    border-bottom: none;
    text-align: center;
}

.job-content-wrapper h2 {
    font-size: 28px;
    margin: 0 0 20px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
}

.job-content-wrapper p,
.job-content-wrapper ul,
.job-content-wrapper ol {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.job-content-wrapper ul,
.job-content-wrapper ol {
    padding-left: 25px;
}

.job-content-wrapper ul li,
.job-content-wrapper ol li {
    margin-bottom: 10px;
}

.job-contact-info p {
    margin-bottom: 10px;
}

.job-contact-info a {
    color: #77b638;
    text-decoration: none;
    transition: color 0.3s;
}

.job-contact-info a:hover {
    color: #5a8a29;
    text-decoration: underline;
}

.job-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid #e0e0e0;
}

.job-posted-date {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.btn-back-to-jobs {
    color: #77b638;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.btn-back-to-jobs:hover {
    color: #5a8a29;
}

/* My Jobs Dashboard */
.my-jobs-page .page-header {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.my-jobs-page .page-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
}

.my-jobs-page .page-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.credits-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #77b638 0%, #5a8a29 100%);
    border-radius: 8px;
    color: #fff;
}

.credits-info-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.credits-amount {
    text-align: center;
}

.credits-number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1;
    margin-bottom: 5px;
}

.credits-label {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

.credits-status {
    flex: 1;
}

.membership-badge,
.non-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
}

.membership-badge {
    background: rgba(255, 255, 255, 0.3);
}

.membership-badge i {
    color: #ffd700;
}

.credits-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.no-credits-message {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 4px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.credits-info-banner {
    background: #e7f5df;
    border: 1px solid #77b638;
    color: #3d5a22;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.credits-info-banner i {
    color: #77b638;
    font-size: 20px;
}

/* Jobs Table */
.my-jobs-section {
    margin-bottom: 50px;
}

.my-jobs-section h2 {
    font-size: 32px;
    margin: 0 0 25px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
}

.my-jobs-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.my-jobs-table thead {
    background: #f8f9fa;
}

.my-jobs-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #77b638;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-jobs-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.my-jobs-table tbody tr:hover {
    background: #f8f9fa;
}

.my-jobs-table tbody tr.job-expired {
    opacity: 0.6;
}

.my-jobs-table td {
    padding: 15px 12px;
    vertical-align: middle;
    font-size: 14px;
}

.job-title-col a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.job-title-col a:hover {
    color: #77b638;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 5px;
}

.status-badge.status-publish {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-draft {
    background: #e2e3e5;
    color: #383d41;
}

.status-badge.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.job-actions-col {
    text-align: right;
    white-space: nowrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 5px;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-action:hover {
    background: #f0f0f0;
    color: #333;
}

.btn-action.btn-delete:hover {
    background: #dc3545;
    color: #fff;
}

.no-jobs-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-jobs-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

/* Credits History */
.credits-history-section {
    margin-bottom: 50px;
}

.credits-history-section h2 {
    font-size: 32px;
    margin: 0 0 25px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
}

.credits-history-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.credits-history-table thead {
    background: #f8f9fa;
}

.credits-history-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #77b638;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credits-history-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.credits-history-table tbody tr:hover {
    background: #f8f9fa;
}

.credits-history-table td {
    padding: 12px;
    vertical-align: middle;
    font-size: 14px;
}

.credit-add {
    color: #28a745;
    font-weight: 600;
}

.credit-deduct {
    color: #dc3545;
    font-weight: 600;
}

/* Job Submission Form */
.submit-job-page .page-header {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.submit-job-page .page-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
}

.submit-job-page .page-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.submission-success {
    text-align: center;
    padding: 60px 40px;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    margin: 40px 0;
}

.success-icon {
    font-size: 72px;
    color: #28a745;
    margin-bottom: 20px;
}

.submission-success h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #155724;
    font-family: 'Bebas Neue', sans-serif;
}

.submission-success p {
    font-size: 18px;
    color: #155724;
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.submission-error {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.submission-error i {
    font-size: 24px;
    color: #dc3545;
}

.job-submission-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    font-size: 28px;
    margin: 0 0 25px 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #77b638;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
    font-family: 'Roboto Flex', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #77b638;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.field-description {
    font-size: 13px;
    color: #999;
    margin: 5px 0 0 0;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.submit-note {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px !important;
    padding: 15px 40px !important;
}

.btn-submit i {
    font-size: 20px;
}

/* No Credits Notice */
.no-credits-notice {
    text-align: center;
    padding: 60px 40px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    margin: 40px 0;
}

.notice-icon {
    font-size: 72px;
    color: #ffc107;
    margin-bottom: 20px;
}

.no-credits-notice h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #856404;
    font-family: 'Bebas Neue', sans-serif;
}

.no-credits-notice p {
    font-size: 18px;
    color: #856404;
    margin-bottom: 30px;
}

.notice-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ========================================
   Job Market Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .credits-dashboard {
        grid-template-columns: 1fr;
    }

    .credits-info-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .job-archive-page .page-title,
    .my-jobs-page .page-title,
    .submit-job-page .page-title {
        font-size: 32px;
    }

    .job-filter-section {
        padding: 20px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-header {
        padding: 25px;
    }

    .job-header-content {
        flex-direction: column;
        text-align: center;
    }

    .job-company-logo-large {
        margin: 0 auto;
    }

    .job-meta-primary {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-content-wrapper {
        padding: 25px;
    }

    .job-meta-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Tables responsive */
    .my-jobs-list,
    .credits-history-section {
        overflow-x: auto;
    }

    .my-jobs-table,
    .credits-history-table {
        min-width: 800px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submission-success,
    .no-credits-notice {
        padding: 40px 20px;
    }

    .success-icon,
    .notice-icon {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    .job-archive-page .page-title,
    .my-jobs-page .page-title,
    .submit-job-page .page-title {
        font-size: 28px;
    }

    .job-title {
        font-size: 28px;
    }

    .job-company-name-large {
        font-size: 18px;
    }

    .credits-number {
        font-size: 42px;
    }

    .job-header-actions,
    .success-actions,
    .notice-actions {
        flex-direction: column;
        width: 100%;
    }

    .job-header-actions a,
    .success-actions a,
    .notice-actions a {
        width: 100%;
        justify-content: center;
    }

    .form-section {
        padding: 20px;
    }

    .form-submit-section {
        padding: 20px;
    }
}

/* ========================================
   Simplified Credits Action Bar
   ======================================== */

.credits-action-bar {
    margin-bottom: 40px;
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.btn-new-job {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px !important;
    padding: 15px 30px !important;
}

.btn-new-job i {
    font-size: 20px;
}

.no-credits-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.no-credits-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
}

.no-credits-text i {
    color: #ffc107;
}

/* ========================================
   Stellenmarkt Login Page
   ======================================== */

.stellenmarkt-login-page .page-header {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.stellenmarkt-login-page .page-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
}

.stellenmarkt-login-page .page-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.login-form-container {
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stellenmarkt-login-form .form-field {
    margin-bottom: 25px;
}

.stellenmarkt-login-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.login-error-message {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.btn-login-submit {
    width: 100%;
    justify-content: center;
}

.login-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.login-links a {
    color: #77b638;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-links .separator {
    margin: 0 10px;
    color: #999;
}

/* ========================================
   Edit Job Page
   ======================================== */

.edit-job-page .page-header {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 40px;
}

.edit-job-page .page-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #333;
    font-family: 'Bebas Neue', sans-serif;
}

.edit-job-page .page-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.edit-error-notice {
    text-align: center;
    padding: 60px 40px;
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
}

.edit-error-notice .notice-icon {
    font-size: 72px;
    color: #dc3545;
    margin-bottom: 20px;
}

.edit-error-notice h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #721c24;
    font-family: 'Bebas Neue', sans-serif;
}

.edit-error-notice p {
    font-size: 18px;
    color: #721c24;
    margin-bottom: 25px;
}

.update-success {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.update-error {
    background: #f8d7da;
    border: 1px solid #dc3545;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-info-banner {
    background: #e7f5df;
    border: 1px solid #77b638;
    color: #3d5a22;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.edit-info-banner i {
    color: #77b638;
    font-size: 20px;
}

.job-edit-form {
    max-width: 900px;
    margin: 0 auto;
}

.submit-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn-cancel {
    flex-shrink: 0;
}

/* ========================================
   Job Search Autocomplete
   ======================================== */

.job-search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #77b638;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #f8f9fa;
}

.autocomplete-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 15px;
}

.autocomplete-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.autocomplete-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.autocomplete-meta i {
    color: #77b638;
    font-size: 11px;
}

.autocomplete-company {
    font-weight: 500;
}

.autocomplete-type {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
}

.autocomplete-item mark {
    background: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

/* ========================================
   Responsive Adjustments for New Features
   ======================================== */

@media (max-width: 768px) {
    .stellenmarkt-login-page .page-title,
    .edit-job-page .page-title {
        font-size: 32px;
    }

    .login-form-container {
        padding: 25px;
        margin: 0 15px;
    }

    .submit-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .submit-actions a,
    .submit-actions button {
        width: 100%;
        justify-content: center;
    }

    .no-credits-inline {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .stellenmarkt-login-page .page-title,
    .edit-job-page .page-title {
        font-size: 28px;
    }

    .edit-error-notice {
        padding: 40px 20px;
    }

    .edit-error-notice .notice-icon {
        font-size: 56px;
    }
}
