/**
 * Ark Vacature Plugin - Frontend Styles
 */

/* ===== Search Form ===== */
.ark-vacatures-search-wrapper {
    margin: 40px 0;
}

.ark-search-form {
    margin-bottom: 30px;
}

.ark-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.ark-search-autocomplete {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    border: 2px solid #ddd !important;
    border-radius: 12px !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 999999 !important;
    display: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ark-search-autocomplete[style*="display: block"],
.ark-search-autocomplete.show {
    display: block !important;
}

.ark-autocomplete-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    align-items: center;
}

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

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

.ark-autocomplete-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.ark-autocomplete-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ark-autocomplete-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ark-autocomplete-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.ark-autocomplete-title {
    font-weight: 600;
    font-size: 16px;
    color: #2271b1;
    flex: 1;
}

.ark-autocomplete-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ark-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.ark-autocomplete-details {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.ark-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ark-detail-item i {
    font-size: 12px;
    color: #999;
}

.ark-autocomplete-empty {
    padding: 20px 24px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Character Counter Styling */
.char-counter {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    text-align: right;
}

.char-counter .char-count {
    font-weight: 600;
    color: #2271b1;
}

.char-counter.char-warning {
    color: #ff9800;
}

.char-counter.char-warning .char-count {
    color: #ff9800;
}

.char-counter.char-limit {
    color: #d32f2f;
}

.char-counter.char-limit .char-count {
    color: #d32f2f;
    font-weight: 700;
}

.ark-search-input {
    width: 100%;
    padding: 16px 120px 16px 24px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.ark-search-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.ark-search-clear {
    position: absolute;
    right: 60px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    transition: color 0.3s;
    z-index: 2;
    pointer-events: auto;
}

.ark-search-clear:hover {
    color: #666;
}

.ark-search-submit {
    position: absolute;
    right: 8px;
    background: #00bcd4;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 2;
    pointer-events: auto;
}

.ark-search-submit:hover {
    background: #00acc1;
}

.ark-search-results-info {
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-size: 16px;
}

.ark-search-results {
    margin-top: 30px;
}

/* ===== Modal ===== */
.ark-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.ark-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ark-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.ark-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
}

.ark-modal-large {
    max-width: 800px;
}

.ark-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
}

.ark-modal-close:hover {
    color: #666;
}

.ark-modal h3 {
    margin: 0 0 20px 0;
    color: #2271b1;
}

/* ===== Form Sections ===== */
.ark-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.ark-form-section:last-of-type {
    border-bottom: none;
}

.ark-form-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.ark-form-description {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
}

.ark-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.ark-form-actions .ark-button {
    flex: 1;
}

.ark-dashboard-actions {
    display: flex;
    gap: 10px;
}

/* ===== General ===== */
.ark-vacature-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #f0f0f1;
    border-left: 4px solid #2271b1;
}

.ark-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.ark-message-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.ark-message-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* ===== Buttons ===== */
.ark-button {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    border-radius: 20px;
}

.ark-button:hover {
    background: #135e96;
    color: #fff;
}

.ark-button-primary {
    background: #ffcd00;
}

.ark-button-primary:hover {
    background: #ffcd00;
}

.ark-button-small {
    padding: 6px 12px;
    font-size: 13px;
}

.ark-button-danger {
    background: #dc3545;
    color: #fff !important;
}

.ark-button-danger:hover {
    background: #c82333;
    color: #fff !important;
}

.ark-button-secondary {
    background: #6c757d;
    color: #fff !important;
}

.ark-button-secondary:hover {
    background: #5a6268;
    color: #fff !important;
}

.ark-button-view {
    background: #2271b1;
    color: #fff !important;
}

.ark-button-view:hover {
    background: #135e96;
    color: #fff !important;
}

.ark-button-edit {
    background: #50575e;
    color: #fff !important;
}

.ark-button-edit:hover {
    background: #3c434a;
    color: #fff !important;
}

.ark-button-toggle {
    background: #826eb4;
    color: #fff !important;
}

.ark-button-toggle:hover {
    background: #6c5a99;
    color: #fff !important;
}

.ark-button-applications {
    background: #00a0d2;
    color: #fff !important;
}

.ark-button-applications:hover {
    background: #0087be;
    color: #fff !important;
}

.ark-actions i {
    font-size: 14px;
    line-height: 1;
}

.ark-actions .fas,
.ark-actions .far {
    margin-right: 2px;
}

/* ===== Vacatures Overview ===== */
.ark-vacatures-overview {
    margin: 30px 0;
}

.ark-vacatures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ark-vacature-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
}

.ark-vacature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ark-vacature-thumbnail {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.ark-vacature-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ark-vacature-logo {
    margin-bottom: 15px;
}

.ark-vacature-logo img {
    max-width: 150px;
    height: auto;
}

.ark-vacature-title {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.ark-vacature-title a {
    color: #2271b1;
    text-decoration: none;
}

.ark-vacature-title a:hover {
    color: #135e96;
}

.ark-vacature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

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

.ark-vacature-meta .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.ark-vacature-excerpt {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.ark-vacature-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.ark-vacature-expires {
    font-size: 13px;
    color: #666;
}

.ark-vacatures-empty {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.ark-vacatures-pagination {
    text-align: center;
    margin-top: 30px;
}

.ark-vacatures-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #2271b1;
}

.ark-vacatures-pagination .page-numbers.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* ===== Dashboard ===== */
.ark-vacature-dashboard {
    margin: 30px 0;
}

.ark-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.ark-dashboard-header h2 {
    margin: 0;
}

.ark-dashboard-welcome {
    flex: 1;
}

.ark-dashboard-subtitle {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

.ark-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    margin: 20px 0;
}

.ark-empty-state p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #666;
}

.ark-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ark-stat-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.ark-stat-box h3 {
    margin: 0 0 10px 0;
    font-size: 32px;
    color: #2271b1;
}

.ark-stat-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.ark-stat-clickable {
    cursor: pointer;
    position: relative;
}

.ark-stat-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ark-stat-clickable.active {
    border: 2px solid #2271b1;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.25);
}

.ark-stat-clickable.active::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #2271b1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.ark-stat-success { border-left: 4px solid #28a745; }
.ark-stat-warning { border-left: 4px solid #ffc107; }
.ark-stat-danger { border-left: 4px solid #dc3545; }
.ark-stat-info { border-left: 4px solid #17a2b8; }

.ark-vacatures-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 20px 0;
}

.ark-vacatures-table th,
.ark-vacatures-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.ark-vacatures-table td:not(:last-child) {
    overflow: hidden;
}

.ark-vacatures-table td:last-child {
    overflow: visible;
}

.ark-vacatures-table th {
    background: #f9f9f9;
    font-weight: 600;
}

.ark-vacatures-table td:first-child {
    max-width: 200px;
}

.ark-vacatures-table td:first-child strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ark-vacatures-table td:nth-child(2) {
    width: 140px;
}

.ark-vacatures-table td:nth-child(3) {
    width: 100px;
}

.ark-vacatures-table td:nth-child(4),
.ark-vacatures-table td:nth-child(5) {
    width: 130px;
}

.ark-vacatures-table td:last-child {
    white-space: normal;
}

.ark-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ark-status-active {
    background: #d4edda;
    color: #28a745;
}

.ark-status-inactive {
    background: #fff3cd;
    color: #856404;
}

.ark-status-pending {
    background: #f8d7da;
    color: #721c24;
}

.ark-vacature-title-link {
    color: #2271b1;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.ark-vacature-title-link:hover {
    color: #135e96;
    text-decoration: underline;
}

.ark-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ark-actions .ark-button {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ark-actions .ark-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ark-applications-row td {
    background: #f9f9f9;
    padding: 20px;
}

.ark-applications-list h4 {
    margin: 0 0 15px 0;
}

.ark-applications-table {
    width: 100%;
    background: #fff;
}

.ark-applications-table th,
.ark-applications-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* ===== Forms ===== */
.ark-vacature-submit-form,
.ark-vacature-apply-form {
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ark-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.ark-form-section:last-child {
    border-bottom: none;
}

.ark-form-section h3 {
    margin: 0 0 20px 0;
    color: #2271b1;
}

.ark-form-field {
    margin-bottom: 20px;
}

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

.ark-form-field input[type="text"],
.ark-form-field input[type="email"],
.ark-form-field input[type="tel"],
.ark-form-field input[type="url"],
.ark-form-field input[type="number"],
.ark-form-field select,
.ark-form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.ark-form-field textarea {
    resize: vertical;
}

.ark-form-field small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.ark-form-field-half {
    display: inline-block;
    width: calc(50% - 10px);
    margin-right: 20px;
}

.ark-form-field-half:last-child {
    margin-right: 0;
}

.ark-form-actions {
    margin-top: 30px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ark-vacatures-grid {
        grid-template-columns: 1fr;
    }
    
    .ark-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ark-vacatures-table,
    .ark-applications-table {
        font-size: 13px;
    }
    
    .ark-vacatures-table th,
    .ark-vacatures-table td {
        padding: 8px;
    }
    
    .ark-vacatures-table td:first-child {
        width: 35%;
        min-width: 150px;
    }
    
    .ark-vacatures-table td:nth-child(4),
    .ark-vacatures-table td:nth-child(5) {
        display: none;
    }
    
    .ark-vacatures-table td:last-child {
        width: auto;
    }
    
    .ark-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ark-actions .ark-button {
        width: 100%;
        justify-content: center;
    }
    
    .ark-form-field-half {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .ark-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .ark-vacature-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== Login Form ===== */
.ark-vacature-login-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ark-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.ark-login-header h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.ark-login-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

#ark-vacature-loginform {
    margin-bottom: 20px;
}

#ark-vacature-loginform label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#ark-vacature-loginform input[type="text"],
#ark-vacature-loginform input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#ark-vacature-loginform input[type="text"]:focus,
#ark-vacature-loginform input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

#ark-vacature-loginform .login-remember {
    margin-bottom: 20px;
}

#ark-vacature-loginform .login-remember label {
    display: inline;
    font-weight: normal;
    font-size: 14px;
}

#ark-vacature-loginform .login-remember input[type="checkbox"] {
    margin-right: 8px;
}

#ark-vacature-loginform .login-submit {
    text-align: center;
}

#ark-vacature-loginform input[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#ark-vacature-loginform input[type="submit"]:hover {
    background: #005a87;
}

.ark-login-footer {
    margin-top: 20px;
    text-align: center;
}

.ark-forgot-password {
    margin: 10px 0 20px 0;
}

.ark-forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9em;
}

.ark-forgot-password a:hover {
    text-decoration: underline;
}

.ark-register-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ark-register-section p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.95em;
}

.ark-button-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Logged In State */
.ark-vacature-logged-in {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.ark-login-welcome {
    text-align: center;
    margin-bottom: 30px;
}

.ark-login-welcome h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 22px;
}

.ark-login-welcome p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.ark-login-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ark-login-actions .button {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.ark-login-actions .button-primary {
    background: #0073aa;
    color: white;
    border: none;
}

.ark-login-actions .button-primary:hover {
    background: #005a87;
    color: white;
}

.ark-login-actions .button:not(.button-primary) {
    background: white;
    color: #0073aa;
    border: 1px solid #0073aa;
}

.ark-login-actions .button:not(.button-primary):hover {
    background: #0073aa;
    color: white;
}

.ark-logout-button {
    background: #dc3232 !important;
    color: white !important;
    border-color: #dc3232 !important;
}

.ark-logout-button:hover {
    background: #a82a2a !important;
}

@media (max-width: 600px) {
    .ark-vacature-login-form,
    .ark-vacature-logged-in {
        margin: 20px;
        padding: 20px;
    }
    
    .ark-login-actions {
        flex-direction: column;
    }
    
    .ark-login-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* ===== Register Form ===== */
.ark-vacature-register-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ark-register-header {
    text-align: center;
    margin-bottom: 30px;
}

.ark-register-header h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.ark-register-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

#ark-register-form {
    margin-bottom: 20px;
}

#ark-register-form .ark-form-field {
    margin-bottom: 20px;
}

#ark-register-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#ark-register-form input[type="text"],
#ark-register-form input[type="email"],
#ark-register-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#ark-register-form input[type="text"]:focus,
#ark-register-form input[type="email"]:focus,
#ark-register-form input[type="password"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

#ark-register-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

#ark-register-form button[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#ark-register-form button[type="submit"]:hover {
    background: #005a87;
}

.ark-register-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.ark-register-footer p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.95em;
}

#ark-register-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

#ark-register-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#ark-register-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .ark-vacature-register-form {
        margin: 20px;
        padding: 20px;
    }
}

/* Input with Prepend */
.ark-input-with-prepend {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.ark-input-prepend {
    background: #f5f5f5;
    color: #666;
    padding: 10px 15px;
    border-right: 1px solid #ddd;
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
    user-select: none;
}

.ark-input-with-prepend input {
    border: none !important;
    flex: 1;
    padding: 10px 15px;
    outline: none;
}

.ark-input-with-prepend input:focus {
    box-shadow: none;
}

.ark-input-with-prepend:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 1px #667eea;
}

/* Checkbox Group */
.ark-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.ark-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    transition: background 0.2s;
}

.ark-checkbox-label:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.ark-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Payment Info */
.ark-payment-info {
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
    font-weight: 500;
}

/* Single Vacature Template */

/* Full Width Hero Image */
.ark-hero-fullwidth {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.ark-hero-fullwidth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ark-topbar-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
}

.ark-topbar-overlay .ark-back-link {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 24px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.ark-topbar-overlay .ark-share-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.ark-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.ark-scroll-indicator .dashicons {
    font-size: 32px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Standalone Topbar (zonder hero image) */
.ark-vacature-topbar-standalone {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-bottom: 40px;
}

.ark-topbar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ark-vacature-topbar-standalone .ark-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.ark-vacature-topbar-standalone .ark-share-button {
    background: #f5f5f5;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ark-single-vacature {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ark-vacature-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ark-back-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.ark-back-link:hover {
    color: #000;
}

.ark-share-button {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ark-share-button:hover {
    background: #e0e0e0;
}

/* Status Badge */
.ark-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.ark-status-badge.ark-status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ark-status-badge.ark-status-inactive {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.ark-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ark-status-active .ark-status-dot {
    background: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.ark-status-inactive .ark-status-dot {
    background: #ffc107;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.ark-vacature-header h1 {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    color: #000;
}

.ark-vacature-meta-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.ark-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95em;
}

.ark-meta-item .dashicons {
    color: #999;
}

/* Content Grid Layout */
.ark-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.ark-hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 30px;
    height: 300px;
}

.ark-hero-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ark-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ark-placeholder-image .dashicons {
    font-size: 120px;
    color: white;
    opacity: 0.5;
}

.ark-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ark-company-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ark-company-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
}

.ark-company-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
}

.ark-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ark-tag {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #666;
}

.ark-salary-info,
.ark-start-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #333;
}

.ark-salary-info .dashicons,
.ark-start-date .dashicons {
    color: #667eea;
}

/* Job Details Section */
.ark-job-details {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.ark-job-details h4 {
    margin: 0 0 15px 0;
    font-size: 1.1em;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.ark-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.ark-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ark-detail-row .dashicons {
    color: #667eea;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ark-detail-row div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ark-detail-row strong {
    color: #333;
    font-size: 0.9em;
}

.ark-detail-row span {
    color: #666;
    font-size: 0.95em;
}

.ark-button-large {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    margin-top: 20px;
    border-radius: 30px;
    text-align: center;
}

.ark-post-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #999;
}

/* Job Points Section */
.ark-job-points {
    margin: 30px 0;
}

.ark-job-points h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #000;
}

.ark-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #FFD700;
    border-radius: 50%;
    font-size: 18px;
}

.ark-bullet-list {
    list-style: none;
    padding-left: 42px;
}

.ark-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.ark-bullet-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666;
}

.ark-content-section {
    margin-bottom: 40px;
}

.ark-content-section h2,
.ark-content-section h3 {
    margin-top: 0;
    color: #000;
}

.ark-wysiwyg-content {
    line-height: 1.8;
    color: #333;
}

.ark-requirements-list {
    list-style: none;
    padding: 0;
}

.ark-requirements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ark-requirements-list .dashicons {
    color: #4caf50;
}

/* About Section */
.ark-about-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.ark-about-section h2 {
    margin-bottom: 30px;
    font-size: 2em;
}

.ark-about-content {
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.ark-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ark-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
}

.ark-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ark-company-logo-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.ark-company-category {
    color: #999;
    margin: 0 0 20px 0;
}

.ark-company-details {
    margin-bottom: 20px;
}

.ark-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #666;
}

.ark-detail-item a {
    color: #667eea;
    text-decoration: none;
}

.ark-detail-item a:hover {
    text-decoration: underline;
}

.ark-application-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.ark-application-intro {
    text-align: center;
    margin-bottom: 40px;
}

.ark-application-intro h2 {
    margin: 0 0 15px 0;
    font-size: 2em;
    color: #000;
}

.ark-application-intro p {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sidebar Sticky */
.ark-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

@media (max-width: 768px) {
    .ark-hero-fullwidth {
        height: 350px;
    }
    
    .ark-topbar-overlay {
        padding: 0 20px;
    }
    
    .ark-topbar-overlay .ark-back-link {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .ark-scroll-indicator .dashicons {
        font-size: 24px;
    }
    
    .ark-topbar-wrapper {
        padding: 0 20px;
    }
    
    .ark-application-intro h2 {
        font-size: 1.5em;
    }
    
    .ark-application-intro p {
        font-size: 1em;
    }
    
    .ark-content-grid {
        grid-template-columns: 1fr;
    }
    
    .ark-sidebar {
        position: static;
    }
    
    .ark-image-gallery {
        grid-template-columns: 1fr;
    }
    
    .ark-vacature-header h1 {
        font-size: 1.8em;
    }
    
    .ark-vacature-meta-icons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Share Modal */
.ark-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ark-modal.active {
    display: flex;
}

.ark-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ark-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ark-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ark-modal-close:hover {
    color: #333;
}

.ark-modal-content h3 {
    margin: 0 0 30px 0;
    font-size: 1.5em;
    text-align: center;
    color: #000;
}

.ark-share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ark-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background: #f9f9f9;
    transition: all 0.3s;
    cursor: pointer;
}

.ark-share-option:hover {
    background: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ark-share-option svg {
    width: 50px;
    height: 50px;
}

.ark-share-option span {
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 480px) {
    .ark-share-options {
        grid-template-columns: 1fr;
    }
    
    .ark-modal-content {
        padding: 30px 20px;
    }
}

/* Payment Thank You Page */
.ark-payment-thank-you {
    max-width: 600px;
    margin: 40px auto;
}

.ark-payment-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.ark-payment-details h3 {
    margin-top: 0;
    color: #333;
}

.ark-payment-details p {
    margin: 10px 0;
}

.ark-payment-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
