/**
 * Frontend CSS - Pharmacy Offers & Jobs Manager ULTIMATE
 * Professional, modern, and responsive dashboard styling
 * 
 * BRAND COLORS:
 * Primary:   #131A46 (Dunkelblau)
 * Secondary: #FFFFFF (Weiß)
 * Text:      #000000 (Schwarz)
 * Accent:    #F72B2C (Rot)
 * 
 * CRITICAL ISOLATION POLICY:
 * This CSS file MUST NOT contain any global selectors (body, html, *, etc.)
 * All styles MUST be scoped to .pharmacy-* classes only
 * This ensures the plugin does NOT affect the website's appearance
 */

/* ===== CRITICAL: Prevent global style conflicts ===== */
/* Only apply styles to plugin elements, not the whole website */

/* ===== CRITICAL: DO NOT TOUCH BODY/HTML/PAGE BACKGROUNDS ===== */
/* Plugin should NEVER modify page, body, or html backgrounds */
/* This plugin ONLY styles its own elements with .pharmacy-* classes */

/* ===== EXPLICIT RESET: Ensure no global styles leak out ===== */
/* DO NOT add any selectors here that don't start with .pharmacy- */

/* ===== CRITICAL: Text Contrast Fix ===== */
/* Ensure all text is readable on any background */
.pharmacy-dashboard-wrapper,
.pharmacy-dashboard-wrapper *,
.pharmacy-tab-content,
.pharmacy-tab-content *,
.pharmacy-modal-body,
.pharmacy-modal-body *,
.pharmacy-form,
.pharmacy-form *,
.pharmacy-dashboard-wrapper .form-group,
.pharmacy-dashboard-wrapper .form-group *,
.pharmacy-modal .form-group,
.pharmacy-modal .form-group * {
    color: #000000 !important; /* Brand text color - prevents white on white */
}

/* Specific elements that should have white text (dark backgrounds) */
.pharmacy-table thead,
.pharmacy-table thead *,
.pharmacy-modal-header,
.pharmacy-modal-header *,
.pharmacy-dashboard-wrapper .stat-card,
.pharmacy-dashboard-wrapper .stat-card *,
.pharmacy-dashboard-wrapper .logout-btn,
.pharmacy-dashboard-wrapper .btn-primary,
.pharmacy-modal .btn-primary,
.pharmacy-dashboard-wrapper .btn-danger,
.pharmacy-modal .btn-danger,
.pharmacy-notice-success,
.pharmacy-notice-error {
    color: #ffffff !important;
}

.pharmacy-table thead th {
    color: #ffffff !important;
}

/* Form inputs and labels - always dark text */
.pharmacy-dashboard-wrapper .form-group label,
.pharmacy-dashboard-wrapper .form-group input,
.pharmacy-dashboard-wrapper .form-group select,
.pharmacy-dashboard-wrapper .form-group textarea,
.pharmacy-modal .form-group label,
.pharmacy-modal .form-group input,
.pharmacy-modal .form-group select,
.pharmacy-modal .form-group textarea {
    color: #2c3e50 !important;
    background-color: #ffffff !important;
}

/* Modal body text - always dark */
.pharmacy-modal-body label,
.pharmacy-modal-body input,
.pharmacy-modal-body select,
.pharmacy-modal-body textarea,
.pharmacy-modal-body p,
.pharmacy-modal-body span {
    color: #2c3e50 !important;
}

/* ===== DASHBOARD WRAPPER ===== */
.pharmacy-dashboard-wrapper {
    max-width: 1400px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ===== HEADER ===== */
.pharmacy-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.pharmacy-dashboard-header h2 {
    font-size: 28px;
    color: #131A46;
    margin: 0;
}

.pharmacy-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pharmacy-dashboard-wrapper .user-name,
.pharmacy-header .user-name {
    font-weight: 600;
    color: #131A46;
}

.pharmacy-dashboard-wrapper .logout-btn,
.pharmacy-header .logout-btn {
    background: #F72B2C;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pharmacy-dashboard-wrapper .logout-btn:hover,
.pharmacy-header .logout-btn:hover {
    background: #d41f20;
    transform: translateY(-2px);
}

/* ===== TABS ===== */
.pharmacy-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ecf0f1;
}

.pharmacy-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.pharmacy-tab-btn:hover {
    color: #131A46;
    background: #f8f9fa;
}

.pharmacy-tab-btn.active {
    color: #131A46;
    border-bottom-color: #F72B2C;
}

/* ===== TAB CONTENT ===== */
.pharmacy-tab-content {
    display: none;
}

.pharmacy-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ===== TOOLBAR ===== */
.pharmacy-toolbar {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== BUTTONS ===== */
/* CRITICAL: Scope all button classes to plugin elements only to avoid conflicts */
.pharmacy-dashboard-wrapper .btn,
.pharmacy-modal .btn,
.pharmacy-toolbar .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.pharmacy-dashboard-wrapper .btn-primary,
.pharmacy-modal .btn-primary,
.pharmacy-toolbar .btn-primary {
    background: #131A46;
    color: white !important;
}

.pharmacy-dashboard-wrapper .btn-primary:hover,
.pharmacy-modal .btn-primary:hover,
.pharmacy-toolbar .btn-primary:hover {
    background: #0d1230;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
}

.pharmacy-dashboard-wrapper .btn-secondary,
.pharmacy-modal .btn-secondary,
.pharmacy-toolbar .btn-secondary {
    background: #95a5a6;
    color: white !important;
}

.pharmacy-dashboard-wrapper .btn-secondary:hover,
.pharmacy-modal .btn-secondary:hover,
.pharmacy-toolbar .btn-secondary:hover {
    background: #7f8c8d;
}

.pharmacy-dashboard-wrapper .btn-danger,
.pharmacy-modal .btn-danger,
.pharmacy-toolbar .btn-danger {
    background: #F72B2C;
    color: white !important;
}

.pharmacy-dashboard-wrapper .btn-danger:hover,
.pharmacy-modal .btn-danger:hover,
.pharmacy-toolbar .btn-danger:hover {
    background: #d41f20;
}

.pharmacy-dashboard-wrapper .btn-icon,
.pharmacy-modal .btn-icon,
.pharmacy-toolbar .btn-icon {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.2s ease;
}

.pharmacy-dashboard-wrapper .btn-icon:hover,
.pharmacy-modal .btn-icon:hover,
.pharmacy-toolbar .btn-icon:hover {
    transform: scale(1.2);
}

/* ===== TABLES ===== */
.pharmacy-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pharmacy-table thead {
    background: #131A46;
    color: white;
}

.pharmacy-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pharmacy-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.2s ease;
}

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

.pharmacy-table td {
    padding: 15px;
    font-size: 14px;
    color: #000000;
}

/* ===== STATUS BADGES ===== */
.pharmacy-dashboard-wrapper .status-badge,
.pharmacy-table .status-badge,
.pharmacy-modal .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* CRITICAL: Scope status classes to plugin elements only */
/* DO NOT use .status-publish alone - it conflicts with WordPress body class! */
.pharmacy-dashboard-wrapper .status-publish,
.pharmacy-table .status-publish,
.pharmacy-modal .status-publish {
    background: #d4edda;
    color: #131A46;
}

.pharmacy-dashboard-wrapper .status-draft,
.pharmacy-table .status-draft,
.pharmacy-modal .status-draft {
    background: #fff3cd;
    color: #856404;
}

/* ===== PRICE DISPLAY ===== */
.pharmacy-dashboard-wrapper .price-regular,
.pharmacy-table .price-regular {
    text-decoration: line-through;
    color: #95a5a6;
    margin-right: 10px;
}

.pharmacy-dashboard-wrapper .price-sale,
.pharmacy-table .price-sale {
    color: #F72B2C;
    font-weight: 700;
    font-size: 16px;
}

/* ===== EMPTY STATE ===== */
.pharmacy-empty {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
    font-size: 16px;
}

/* ===== MODALS ===== */
.pharmacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pharmacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.pharmacy-modal-content {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.pharmacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #ecf0f1;
    background: #131A46;
    color: white;
    border-radius: 12px 12px 0 0;
}

.pharmacy-modal-header h2,
.pharmacy-modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: white !important;
}

.pharmacy-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.pharmacy-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.pharmacy-modal-body {
    padding: 30px;
}

/* ===== FORMS ===== */
.pharmacy-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pharmacy-form .form-row,
.pharmacy-modal .form-row {
    display: flex;
    gap: 20px;
}

.pharmacy-form .form-group,
.pharmacy-modal .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pharmacy-form .form-group.half,
.pharmacy-modal .form-group.half {
    flex: 1;
}

.pharmacy-form .form-group.full,
.pharmacy-modal .form-group.full {
    flex: 100%;
}

.pharmacy-form .form-group label,
.pharmacy-modal .form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50 !important;
    font-size: 14px;
}

.pharmacy-form .form-group input,
.pharmacy-form .form-group select,
.pharmacy-form .form-group textarea,
.pharmacy-modal .form-group input,
.pharmacy-modal .form-group select,
.pharmacy-modal .form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #2c3e50 !important;
    background-color: #ffffff !important;
}

.pharmacy-form .form-group input:focus,
.pharmacy-form .form-group select:focus,
.pharmacy-form .form-group textarea:focus,
.pharmacy-modal .form-group input:focus,
.pharmacy-modal .form-group select:focus,
.pharmacy-modal .form-group textarea:focus {
    outline: none;
    border-color: #131A46;
    box-shadow: 0 0 0 3px rgba(19, 26, 70, 0.1);
}

.pharmacy-form .form-group input[type="checkbox"],
.pharmacy-modal .form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* ===== IMAGE UPLOAD ===== */
.pharmacy-form .image-upload-wrapper,
.pharmacy-modal .image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pharmacy-form .image-preview,
.pharmacy-modal .image-preview {
    width: 100%;
    max-width: 300px;
    min-height: 150px;
    border: 2px dashed #ecf0f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pharmacy-form .image-preview img,
.pharmacy-modal .image-preview img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

/* ===== FORM ACTIONS ===== */
.pharmacy-form .form-actions,
.pharmacy-modal .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

/* ===== STATISTICS ===== */
.pharmacy-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pharmacy-stats-grid .stat-card,
.pharmacy-dashboard-wrapper .stat-card {
    background: #131A46;
    padding: 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 15px rgba(19, 26, 70, 0.3);
    transition: all 0.3s ease;
}

.pharmacy-stats-grid .stat-card:hover,
.pharmacy-dashboard-wrapper .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(19, 26, 70, 0.4);
}

.pharmacy-stats-grid .stat-icon,
.pharmacy-dashboard-wrapper .stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.pharmacy-stats-grid .stat-value,
.pharmacy-dashboard-wrapper .stat-value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pharmacy-stats-grid .stat-label,
.pharmacy-dashboard-wrapper .stat-label {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== NOTICES ===== */
.pharmacy-notice {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pharmacy-notice-success {
    background: #131A46;
    color: white;
}

.pharmacy-notice-error {
    background: #F72B2C;
    color: white;
}

.pharmacy-error {
    background: #fee;
    color: #F72B2C;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #F72B2C;
    margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pharmacy-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pharmacy-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pharmacy-tab-btn {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1;
        min-width: fit-content;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .pharmacy-modal-content {
        max-width: 100%;
        margin: 10px;
    }
    
    .pharmacy-modal-body {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    /* Responsive Tables - Card View */
    .pharmacy-table {
        display: none;
    }
    
    .pharmacy-table-mobile {
        display: block !important;
    }
    
    .pharmacy-card-item {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        position: relative;
    }
    
    .pharmacy-card-item:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .pharmacy-card-item .card-image {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        float: left;
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .pharmacy-card-item .card-title {
        font-size: 18px;
        font-weight: 700;
        color: #131A46;
        margin-bottom: 10px;
    }
    
    .pharmacy-card-item .card-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
        clear: both;
    }
    
    .pharmacy-card-item .card-meta-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .pharmacy-card-item .card-meta-label {
        font-weight: 600;
        color: #666;
        font-size: 13px;
    }
    
    .pharmacy-card-item .card-meta-value {
        color: #000;
        font-size: 14px;
    }
    
    .pharmacy-card-item .card-actions {
        display: flex;
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid #f0f0f0;
    }
    
    .card-actions .btn-icon {
        flex: 1;
        padding: 10px;
        font-size: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .card-actions .edit-offer:hover,
    .card-actions .edit-job:hover,
    .card-actions .edit-notdienst:hover {
        background: #131A46;
    }
    
    .card-actions .delete-offer:hover,
    .card-actions .delete-job:hover,
    .card-actions .delete-notdienst:hover {
        background: #F72B2C;
    }
}

/* Desktop: Hide mobile cards */
@media (min-width: 769px) {
    .pharmacy-table-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .pharmacy-dashboard-wrapper {
        padding: 15px;
        margin: 15px auto;
    }
    
    .pharmacy-modal-body {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 32px;
    }
}

/* ===== Job Details Modal Styles ===== */
/* CRITICAL: Scope all job detail classes to modal to prevent global conflicts */
.pharmacy-modal .job-details-content {
    color: #000 !important;
}

.pharmacy-modal .job-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.pharmacy-modal .job-section:last-child {
    border-bottom: none;
}

.pharmacy-modal .job-section h3 {
    color: #131A46 !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pharmacy-modal .job-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pharmacy-modal .job-details-list li {
    padding: 8px 0;
    color: #000 !important;
    line-height: 1.6;
}

.pharmacy-modal .job-details-list strong {
    color: #131A46 !important;
    margin-right: 8px;
    font-weight: 600;
}

.pharmacy-modal .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.pharmacy-modal .benefits-list li {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #000 !important;
    line-height: 1.5;
}

/* Tasks list styling */
.pharmacy-modal .tasks-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.pharmacy-modal .tasks-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #000 !important;
    line-height: 1.6;
}

.pharmacy-modal .tasks-list li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #131A46;
    font-weight: bold;
}

/* Job section subsections */
.pharmacy-modal .job-section h4 {
    color: #131A46 !important;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.pharmacy-modal .job-intro,
.pharmacy-modal .employer-description,
.pharmacy-modal .team-description {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.pharmacy-modal .job-basics ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px 15px;
}

/* ========================================
 * Job Modal Buttons (Kontakt & Bewerbung in Popup)
 * All buttons use navy blue style (Primary style)
 */
.job-modal-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

/* Primary Button (Apply Button) - Navy Blue */
.job-modal-buttons .job-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #131A46;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
}

.job-modal-buttons .job-button-primary:hover {
    background: #0d1330;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
}

.job-modal-buttons .job-button-primary i {
    font-size: 16px;
}

/* Secondary Button (Custom Buttons) - Same Navy Blue Style */
.job-modal-buttons .job-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #131A46;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
}

.job-modal-buttons .job-button-secondary:hover {
    background: #0d1330;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
}

.job-modal-buttons .job-button-secondary i {
    font-size: 16px;
}

/* Custom Action Buttons in Modal - Same Navy Blue Style */
.job-modal-buttons .job-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #131A46;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
}

.job-modal-buttons .job-action-button:hover {
    background: #0d1330;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
    color: #fff !important;
}

.job-modal-buttons .job-action-button i {
    font-size: 16px;
}

/* Old apply button style (for backward compatibility) */
.pharmacy-modal .job-apply-button-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #131A46;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.pharmacy-modal .job-apply-button-large:hover {
    background: #0d1330;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.2);
}

/* Responsive: Stack buttons on mobile */
@media (max-width: 768px) {
    .job-modal-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.pharmacy-modal .job-contact {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* ===== Clickable Job Items ===== */
.pharmacy-job-item {
    transition: all 0.3s ease;
    position: relative;
}

.pharmacy-job-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pharmacy-job-item::after {
    content: '👁️ Details anzeigen';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #131A46;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pharmacy-job-item:hover::after {
    opacity: 0.7;
}

/* ===== CRITICAL: Ensure plugin doesn't affect page background ===== */
/* Only apply backgrounds to plugin elements, NOT to body or html */
.pharmacy-jobs-list-wrapper,
.pharmacy-dashboard-wrapper,
.pharmacy-modal-content,
.pharmacy-tab-content {
    /* Plugin elements can have their own backgrounds */
    /* But DO NOT set body or html backgrounds */
}

/* Explicitly prevent any body/html styling from plugin */
body.pharmacy-no-global-styles,
html.pharmacy-no-global-styles {
    /* Plugin should never add global classes or styles to body/html */
}

/* ===== ENHANCED OFFER CARDS ===== */
.pharmacy-offer-card-enhanced {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}

.pharmacy-offer-card-enhanced:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Offer Badge */
.pharmacy-offer-card-enhanced .offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F72B2C;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(247, 43, 44, 0.3);
}

/* Offer Image */
.pharmacy-offer-card-enhanced .offer-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pharmacy-offer-card-enhanced .offer-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.pharmacy-offer-card-enhanced .offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.pharmacy-offer-card-enhanced .placeholder-icon {
    font-size: 80px;
    opacity: 0.3;
}

/* Offer Content */
.pharmacy-offer-card-enhanced .offer-content {
    padding: 25px;
}

.pharmacy-offer-card-enhanced .offer-title {
    font-size: 22px;
    font-weight: 700;
    color: #131A46;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.pharmacy-offer-card-enhanced .offer-short-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Price Section */
.pharmacy-offer-card-enhanced .offer-price-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pharmacy-offer-card-enhanced .price-main {
    font-size: 28px;
    font-weight: 700;
    color: #F72B2C;
    margin-bottom: 5px;
}

.pharmacy-offer-card-enhanced .price-vat {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.pharmacy-offer-card-enhanced .price-original {
    font-size: 14px;
    color: #999;
    margin-bottom: 3px;
}

.pharmacy-offer-card-enhanced .price-per-unit {
    font-size: 13px;
    color: #666;
}

/* Availability */
.pharmacy-offer-card-enhanced .offer-availability {
    background: #d4edda;
    color: #131A46;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

/* Full Description */
.pharmacy-offer-card-enhanced .offer-full-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding: 15px;
    background: #fafafa;
    border-left: 3px solid #131A46;
    border-radius: 4px;
}

.pharmacy-offer-card-enhanced .offer-full-description p {
    margin: 0 0 10px 0;
}

.pharmacy-offer-card-enhanced .offer-full-description p:last-child {
    margin-bottom: 0;
}

/* Additional Details */
.pharmacy-offer-card-enhanced .offer-additional-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-bottom: 20px;
}

.pharmacy-offer-card-enhanced .offer-detail-section {
    margin-bottom: 15px;
}

.pharmacy-offer-card-enhanced .offer-detail-section:last-child {
    margin-bottom: 0;
}

.pharmacy-offer-card-enhanced .offer-detail-section strong {
    display: block;
    color: #131A46;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.pharmacy-offer-card-enhanced .offer-detail-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Action Buttons */
.pharmacy-offer-card-enhanced .offer-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.pharmacy-offer-card-enhanced .offer-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.pharmacy-offer-card-enhanced .offer-btn-primary {
    background: #F72B2C;
    color: #ffffff;
}

.pharmacy-offer-card-enhanced .offer-btn-primary:hover {
    background: #d41f20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 43, 44, 0.3);
}

.pharmacy-offer-card-enhanced .offer-btn-secondary {
    background: #ffffff;
    color: #131A46;
    border: 2px solid #131A46;
}

.pharmacy-offer-card-enhanced .offer-btn-secondary:hover {
    background: #131A46;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 26, 70, 0.2);
}

/* Pharmacy Info Modal */
.pharmacy-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.pharmacy-info-modal-overlay.active {
    display: flex;
}

.pharmacy-info-modal {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.pharmacy-info-modal-header {
    background: #131A46;
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pharmacy-info-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.pharmacy-info-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pharmacy-info-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.pharmacy-info-modal-body {
    padding: 30px 25px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.pharmacy-info-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.pharmacy-info-modal-ok {
    background: #F72B2C;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pharmacy-info-modal-ok:hover {
    background: #d41f20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 43, 44, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .pharmacy-offer-card-enhanced .offer-action-buttons {
        flex-direction: column;
    }
    
    .pharmacy-offer-card-enhanced .offer-btn {
        width: 100%;
        min-width: unset;
    }
    
    .pharmacy-offer-card-enhanced .offer-title {
        font-size: 20px;
    }
    
    .pharmacy-offer-card-enhanced .price-main {
        font-size: 24px;
    }
}
/* ===== MUCOSOLVAN-STYLE OFFER CARDS ===== */
/* Exact replica of Mucosolvan product card design */

.pharmacy-offer-card-mucosolvan {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pharmacy-offer-card-mucosolvan:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Discount Badge - Top Right Corner */
.pharmacy-offer-card-mucosolvan .offer-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F72B2C;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(247, 43, 44, 0.3);
}

/* Product Image Container - Takes up 60% of card */
.pharmacy-offer-card-mucosolvan .offer-image-container {
    width: 100%;
    height: 320px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.pharmacy-offer-card-mucosolvan .offer-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pharmacy-offer-card-mucosolvan .offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.pharmacy-offer-card-mucosolvan .placeholder-icon {
    font-size: 80px;
    opacity: 0.2;
}

/* Content Section */
.pharmacy-offer-card-mucosolvan .offer-info-section {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Title Row with Info Icon */
.pharmacy-offer-card-mucosolvan .offer-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pharmacy-offer-card-mucosolvan .offer-product-title {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

/* Info Icon Button - Circular, right aligned */
.pharmacy-offer-card-mucosolvan .offer-info-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.pharmacy-offer-card-mucosolvan .offer-info-icon:hover {
    background: #6c757d;
    color: #ffffff;
}

/* Subtitle / Short Description */
.pharmacy-offer-card-mucosolvan .offer-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Price Row - Price Info + Cart Button Side by Side */
.pharmacy-offer-card-mucosolvan .offer-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-top: 8px;
}

/* Price Information */
.pharmacy-offer-card-mucosolvan .offer-price-info {
    flex: 1;
}

.pharmacy-offer-card-mucosolvan .price-current {
    font-size: 32px;
    font-weight: 700;
    color: #F72B2C;
    line-height: 1;
    margin-bottom: 2px;
}

.pharmacy-offer-card-mucosolvan .price-tax {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.pharmacy-offer-card-mucosolvan .price-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

.pharmacy-offer-card-mucosolvan .price-uvp {
    text-decoration: line-through;
    color: #999;
}

.pharmacy-offer-card-mucosolvan .price-unit {
    color: #6c757d;
}

/* Cart Button - Red Square with Icon */
.pharmacy-offer-card-mucosolvan .offer-cart-button {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #d41f20;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.pharmacy-offer-card-mucosolvan .offer-cart-button:hover {
    background: #b81a1b;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 31, 32, 0.3);
}

/* Stock Status - Green Text */
.pharmacy-offer-card-mucosolvan .offer-stock-status {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pharmacy-offer-card-mucosolvan .offer-image-container {
        height: 250px;
    }
    
    .pharmacy-offer-card-mucosolvan .offer-product-title {
        font-size: 16px;
    }
    
    .pharmacy-offer-card-mucosolvan .price-current {
        font-size: 28px;
    }
    
    .pharmacy-offer-card-mucosolvan .offer-cart-button {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .pharmacy-offer-card-mucosolvan .offer-info-section {
        padding: 15px;
    }
    
    .pharmacy-offer-card-mucosolvan .offer-product-title {
        font-size: 15px;
    }
    
    .pharmacy-offer-card-mucosolvan .price-current {
        font-size: 24px;
    }
}
/* ========================================
   MUCOSOLVAN-STYLE OFFER CARDS
   Clean, minimal product card design
   ======================================== */

/* Grid Layout */
.pharmacy-offers-grid-wrapper {
    padding: 20px 0;
    width: 100%;
}

.pharmacy-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Card Container - Mucosolvan Style */
.pharmacy-offer-card-mucosolvan {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.pharmacy-offer-card-mucosolvan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Discount Badge - Top Right Corner */
.offer-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F72B2C;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Image - Large, Dominant */
.offer-image-container {
    width: 100%;
    height: 240px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.offer-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

.placeholder-icon {
    font-size: 64px;
    opacity: 0.3;
}

/* Content Section */
.offer-info-section {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Title Row with Info Icon */
.offer-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.offer-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #131A46;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.offer-info-icon {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #131A46;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.offer-info-icon:hover {
    color: #F72B2C;
}

.offer-info-icon svg {
    width: 20px;
    height: 20px;
}

/* Subtitle */
.offer-subtitle {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    margin: -4px 0 0 0;
}

/* Price Row - Price + Cart Button */
.offer-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

/* Price Information */
.offer-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: #F72B2C;
    line-height: 1;
}

.price-tax {
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.price-uvp {
    font-size: 12px;
    color: #6c757d;
    text-decoration: line-through;
}

.price-unit {
    font-size: 12px;
    color: #6c757d;
}

/* Cart Button - Red Square with Icon */
.offer-cart-button {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #F72B2C;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.offer-cart-button:hover {
    background: #d91f20;
    transform: scale(1.05);
}

.offer-cart-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Availability Status - Green */
.offer-stock-status {
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-stock-status::before {
    content: "✓";
    font-size: 14px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pharmacy-offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .offer-image-container {
        height: 200px;
    }
    
    .offer-product-title {
        font-size: 14px;
    }
    
    .price-current {
        font-size: 24px;
    }
    
    .offer-cart-button {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .pharmacy-offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-info-section {
        padding: 14px;
    }
}

/* ========================================
   OFFER DETAILS MODAL
   Professional modal for full offer details
   ======================================== */

.pharmacy-offer-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    overflow-y: auto;
    padding: 40px 20px;
}

.pharmacy-offer-modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pharmacy-offer-modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    margin: auto;
    animation: modalSlideIn 0.3s ease-out;
}

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

.pharmacy-offer-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    color: #131A46;
    transition: all 0.3s;
}

.pharmacy-offer-modal-close:hover {
    background: #F72B2C;
    color: #ffffff;
    transform: rotate(90deg);
}

.pharmacy-offer-modal-content {
    padding: 40px;
}

.offer-modal-loading,
.offer-modal-error {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    font-size: 16px;
}

.offer-modal-error {
    color: #F72B2C;
}

/* Modal Inner Layout - Two Columns */
.offer-modal-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
}

/* Left Column: Image */
.offer-modal-left {
    display: flex;
    flex-direction: column;
}

.offer-modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 20px;
}

.offer-modal-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-modal-image-placeholder .placeholder-icon {
    font-size: 120px;
    opacity: 0.3;
}

/* Right Column: Details */
.offer-modal-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #131A46;
    margin: 0;
    line-height: 1.3;
}

.offer-modal-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: -8px 0 0 0;
}

/* Price Section in Modal */
.offer-modal-price-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #F72B2C;
}

.price-main {
    font-size: 36px;
    font-weight: 700;
    color: #F72B2C;
    line-height: 1;
}

.price-tax-info {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

.price-secondary {
    margin-top: 8px;
    font-size: 14px;
    color: #6c757d;
}

.price-uvp-line del {
    color: #999;
}

.price-unit-info {
    color: #6c757d;
}

/* Availability in Modal */
.offer-modal-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.offer-modal-availability::before {
    content: "✓";
    font-size: 16px;
    font-weight: 700;
}

/* Content Sections */
.offer-modal-section {
    margin-top: 24px;
}

.offer-modal-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #131A46;
    margin: 0 0 12px 0;
}

.offer-modal-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 12px 0;
}

.offer-modal-warnings {
    background: #fff3cd;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

.offer-modal-warnings h3 {
    color: #856404;
}

/* Action Buttons */
.offer-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.offer-modal-cart-btn {
    background: #F72B2C;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.offer-modal-cart-btn:hover {
    background: #d91f20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 43, 44, 0.3);
    color: #ffffff;
}

.offer-modal-cart-btn svg {
    width: 20px;
    height: 20px;
}

.offer-modal-info-btn {
    background: #ffffff;
    color: #131A46;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #131A46;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.offer-modal-info-btn:hover {
    background: #131A46;
    color: #ffffff;
}

.offer-modal-info-btn svg {
    width: 20px;
    height: 20px;
}

.offer-modal-custom-btn {
    background: #6c757d;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.offer-modal-custom-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: #ffffff;
}

.offer-modal-custom-btn-secondary {
    background: #ffffff;
    color: #6c757d;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #6c757d;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.offer-modal-custom-btn-secondary:hover {
    background: #6c757d;
    color: #ffffff;
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .offer-modal-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .offer-modal-left {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pharmacy-offer-modal-overlay {
        padding: 20px;
    }
    
    .pharmacy-offer-modal-content {
        padding: 30px 20px;
    }
    
    .offer-modal-title {
        font-size: 24px;
    }
    
    .price-main {
        font-size: 28px;
    }
    
    .offer-modal-actions {
        flex-direction: column;
    }
    
    .offer-modal-cart-btn,
    .offer-modal-info-btn,
    .offer-modal-custom-btn,
    .offer-modal-custom-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pharmacy-offer-modal {
        border-radius: 0;
    }
    
    .pharmacy-offer-modal-overlay {
        padding: 0;
    }
    
    .offer-modal-inner {
        gap: 20px;
    }
}
/* ========================================
   FULL DETAILS OFFER CARDS (NO MODAL)
   All information displayed directly on card
   ======================================== */

/* Grid Layout */
.pharmacy-offers-grid-wrapper {
    padding: 20px 0;
    width: 100%;
}

.pharmacy-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Card Container - Full Details */
.pharmacy-offer-card-full {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pharmacy-offer-card-full:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Discount Badge - Top Right Corner */
.offer-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F72B2C;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Image - Large, Dominant */
.offer-image-container {
    width: 100%;
    height: 240px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.offer-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

.placeholder-icon {
    font-size: 64px;
    opacity: 0.3;
}

/* Content Section */
.offer-info-section {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Title Row with Info Icon */
.offer-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.offer-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #131A46;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.offer-info-icon {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #131A46;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.offer-info-icon:hover {
    color: #F72B2C;
}

.offer-info-icon svg {
    width: 20px;
    height: 20px;
}

/* Subtitle */
.offer-subtitle {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    margin: -4px 0 0 0;
}

/* Price Row - Price + Cart Button */
.offer-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

/* Price Information */
.offer-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: #F72B2C;
    line-height: 1;
}

.price-tax {
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.price-uvp {
    font-size: 12px;
    color: #6c757d;
    text-decoration: line-through;
}

.price-unit {
    font-size: 12px;
    color: #6c757d;
}

/* Cart Button (Small square icon - top section) */
.offer-cart-button {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #F72B2C;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

.offer-cart-button:hover {
    background: #d91f20;
    transform: scale(1.05);
}

.offer-cart-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Availability Status - Green */
.offer-stock-status {
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-stock-status::before {
    content: "✓";
    font-size: 14px;
    font-weight: 700;
}

/* Full Description Section */
.offer-full-description,
.offer-ingredients,
.offer-usage,
.offer-warnings {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.offer-full-description h4,
.offer-ingredients h4,
.offer-usage h4,
.offer-warnings h4 {
    font-size: 14px;
    font-weight: 700;
    color: #131A46;
    margin: 0 0 8px 0;
}

.offer-full-description p,
.offer-ingredients p,
.offer-usage p,
.offer-warnings p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 8px 0;
}

.offer-warnings {
    background: #fff3cd;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
    border-top: none;
    margin-top: 16px;
}

.offer-warnings h4 {
    color: #856404;
}

/* Action Buttons Section */
.offer-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* Cart Button (Full button with label) */
.offer-btn-cart {
    background: #F72B2C;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.offer-btn-cart:hover {
    background: #d91f20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 43, 44, 0.3);
    color: #ffffff;
}

.offer-btn-cart svg {
    width: 18px;
    height: 18px;
}

/* Info Button */
.offer-btn-info {
    background: #ffffff;
    color: #131A46;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #131A46;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.offer-btn-info:hover {
    background: #131A46;
    color: #ffffff;
}

.offer-btn-info svg {
    width: 18px;
    height: 18px;
}

/* Custom Buttons */
.offer-btn-custom {
    background: #6c757d;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.offer-btn-custom:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: #ffffff;
}

.offer-btn-custom-secondary {
    background: #ffffff;
    color: #6c757d;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #6c757d;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.offer-btn-custom-secondary:hover {
    background: #6c757d;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pharmacy-offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .offer-image-container {
        height: 200px;
    }
    
    .offer-product-title {
        font-size: 14px;
    }
    
    .price-current {
        font-size: 24px;
    }
    
    .offer-cart-button {
        width: 44px;
        height: 44px;
    }
    
    .offer-action-buttons {
        flex-direction: column;
    }
    
    .offer-btn-cart,
    .offer-btn-info,
    .offer-btn-custom,
    .offer-btn-custom-secondary {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .pharmacy-offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-info-section {
        padding: 14px;
    }
}
/**
 * Minimal Mucosolvan Card Design
 * Matches the reference image exactly
 * Clean, compact, essential info only
 */

/* Grid wrapper */
.pharmacy-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

/* Minimal Mucosolvan Card */
.pharmacy-offer-card-mucosolvan-minimal {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
  max-width: 320px;
}

.pharmacy-offer-card-mucosolvan-minimal:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F72B2C;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(247, 43, 44, 0.3);
}

/* Image Section - 60% of card */
.offer-image-large {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f9f9f9;
  flex-shrink: 0;
}

.offer-image-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Content Section - 40% of card */
.offer-content-minimal {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Title Row with Info Icon */
.offer-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.offer-title-main {
  flex: 1;
}

.offer-title-main h3 {
  margin: 0 0 4px 0;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #131A46 !important;
}

.offer-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/* Info Icon - Circle Style */
.offer-info-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: #E8EBF5;
  border: 2px solid #D1D5E3;
  padding: 0;
  color: #131A46;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offer-info-icon:hover {
  background: #131A46;
  border-color: #131A46;
  transform: scale(1.15);
  color: #fff;
  box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
}

.offer-info-icon i {
  font-size: 16px;
}

/* Short Description */
.offer-short-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/* Price Section */
.offer-price-area {
  margin-top: auto;
  padding-top: 8px;
}

.offer-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: #F72B2C;
  line-height: 1;
}

.price-vat {
  font-size: 11px;
  color: #666;
}

.price-original {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin: 2px 0;
}

.price-per-unit {
  font-size: 11px;
  color: #666;
  margin: 2px 0;
}

/* Availability */
.offer-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}

.availability-available {
  color: #22C55E;
}

.availability-limited {
  color: #F59E0B;
}

.availability-unavailable {
  color: #EF4444;
}

/* Cart Button - Small Icon Only */
.offer-cart-button-small {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: #F72B2C;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(247, 43, 44, 0.3);
  z-index: 5;
}

.offer-cart-button-small:hover {
  background: #d41f20;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(247, 43, 44, 0.5);
}

.offer-cart-button-small i {
  font-size: 20px;
  color: #fff;
}

/* Hidden sections - only shown in info popup */
.offer-full-description,
.offer-ingredients,
.offer-usage,
.offer-warnings,
.offer-action-buttons {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .pharmacy-offers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .pharmacy-offer-card-mucosolvan-minimal {
    max-width: 100%;
  }

  .offer-image-large {
    height: 200px;
  }

  .offer-content-minimal {
    padding: 12px;
  }

  .offer-title-main h3 {
    font-size: 14px;
  }

  .price-current {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .pharmacy-offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-image-large {
    height: 180px;
  }
}

/**
 * Job Custom Action Buttons
 * Side-by-side layout with primary/secondary styles
 */
.job-custom-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Side by side (2 columns) */
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

/* Primary Button Style (Red) */
.job-action-button.job-button-primary {
  background: #F72B2C;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.job-action-button.job-button-primary:hover {
  background: #d41f20;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 43, 44, 0.3);
  text-decoration: none;
  color: #fff;
}

/* Secondary Button Style (Navy Blue - Same as Primary) */
.job-action-button.job-button-secondary {
  background: #131A46;
  color: #fff !important;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.job-action-button.job-button-secondary:hover {
  background: #0d1330;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 26, 70, 0.3);
  text-decoration: none;
}

/* Icon Styling */
.job-action-button i {
  font-size: 16px;
}

/* Responsive - Stack on Mobile */
@media (max-width: 768px) {
  .job-custom-buttons {
    grid-template-columns: 1fr;  /* Full width on mobile */
    gap: 10px;
  }
}

/* Single button (full width) */
.job-custom-buttons .job-action-button:only-child {
  grid-column: 1 / -1;
}

/* ========================================
 * Job Contact & Application Section
 * Beautiful section for contact and application buttons
 */
.job-contact-section {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}

.job-contact-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #131A46;
  font-size: 16px;
}

.job-contact-title i {
  font-size: 20px;
  color: #F72B2C;
}

.job-buttons-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Apply Button (Primary Red) */
.job-apply-button {
  background: #F72B2C;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(247, 43, 44, 0.2);
}

.job-apply-button:hover {
  background: #d41f20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247, 43, 44, 0.4);
  text-decoration: none;
  color: #fff;
}

/* Responsive - Stack on Mobile */
@media (max-width: 768px) {
  .job-buttons-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ========================================
 * Jobs Empty State
 * Nice message when no jobs available
 */
.pharmacy-jobs-no-results {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border: 2px dashed #cbd5e0;
  margin: 40px 0;
}

.pharmacy-jobs-no-results .no-jobs-icon {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 20px;
}

.pharmacy-jobs-no-results h3 {
  color: #131A46 !important;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.pharmacy-jobs-no-results p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

