/* WP Job Manager Frontend Registration Forms Styles */
.wpjm-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.wpjm-registration-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}
.elementor-field-group .elementor-select-wrapper:before{
    display: none;
}

.form-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.field-group input[type="text"],
.field-group input[type="tel"],
.field-group input[type="email"],
.field-group select,
.field-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.field-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e1e1e1;
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
}

.field-group input[type="file"]:hover {
    border-color: #0073aa;
    background: #ffffff;
}

.submit-btn {
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #005a87, #004570);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 115, 170, 0.3);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .wpjm-registration-form {
        margin: 0 20px;
        padding: 20px;
    }
    
    .wpjm-registration-form h2 {
        font-size: 24px;
    }
    
    .field-group input,
    .field-group select,
    .field-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Success/Error Messages */
.wpjm-registration-form .message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
}

.wpjm-registration-form .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpjm-registration-form .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Required field indicator */
.field-group label::after {
    content: ' *';
    color: #dc3545;
}

/* Loading state */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   WP Job Manager Dashboard & Edit Profile Styles
   ============================================ */

/* Dashboard Wrapper - Main Container */
.wpjm-dashboard-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #f8f9fa;
    font-family: "Montserrat", Sans-serif;
    padding: 20px;
}

/* Dashboard Container - Flex Layout */
.wpjm-dashboard-container {
    display: flex;
    min-height: auto;
    max-width: 1340px;
    margin: 25px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Sidebar Container */
.wpjm-sidebar-container {
    width: 280px;
    flex-shrink: 0;
}

.wpjm-sidebar {
    width: 100%;
    background: #fff;
    padding: 30px 20px;
    border-right: 1px solid #e9ecef;
    min-height: auto;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

/* Main Container */
.wpjm-main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wpjm-main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}


/* User Card */
.wpjm-user-card {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
    background: #02bdd4;
    border-radius: 12px;
    color: white;
}

.wpjm-user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 15px;
}

.wpjm-user-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.wpjm-user-role {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.wpjm-edit-profile-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.wpjm-edit-profile-btn:hover {
    background: rgba(255,255,255,0.3);
}

.wpjm-edit-profile-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Navigation */
.wpjm-nav-section {
    margin-bottom: 30px;
}

.wpjm-nav-section h4 {
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    font-family: "Montserrat", Sans-serif;
}

.wpjm-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpjm-nav-item {
    display: block;
    padding: 12px 16px;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.wpjm-nav-item:hover {
    background: #f8f9fa;
    color: #02bdd4;
}

.wpjm-nav-item.active {
    background: #02bdd4;
    color: white;
}

.wpjm-logout-btn {
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    margin-top: 10px !important;
    text-align: center !important;
}

.wpjm-logout-btn:hover {
    background: #dc3545 !important;
    color: white !important;
}

/* Header Container */
.wpjm-header-container {
    margin-bottom: 30px;
}

.wpjm-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.wpjm-header-left h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.wpjm-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wpjm-last-visited {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Buttons */
.wpjm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpjm-btn-primary {
    background: #02bdd4;
    color: white;
}

.wpjm-btn-primary:hover {
    background: #028a9a;
}

.wpjm-btn-secondary {
    background: #6c757d;
    color: white;
}

.wpjm-btn-secondary:hover {
    background: #5a6268;
}

/* Edit Profile Form */
.wpjm-edit-profile-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    margin-top: 20px;
    display: block !important;
    visibility: visible !important;
}

.wpjm-edit-profile-form {
    max-width: 800px;
    display: block !important;
}

.wpjm-form-row {
    margin-bottom: 25px;
    display: block !important;
}

.wpjm-form-group {
    margin-bottom: 20px;
    display: block !important;
}

.wpjm-form-group label {
    display: block !important;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.wpjm-form-group input,
.wpjm-form-group select,
.wpjm-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    display: block !important;
    visibility: visible !important;
    background: #fff;
    color: #374151;
}

.wpjm-form-group input:focus,
.wpjm-form-group select:focus,
.wpjm-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpjm-form-group input[readonly],
.wpjm-form-group input[disabled] {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.wpjm-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

/* Success/Error Messages */
.wpjm-success {
    background: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
    margin-bottom: 20px;
}

.wpjm-error {
    background: #fef2f2;
    color: #991b1b;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    margin-bottom: 20px;
}

/* Dashboard Cards */
.wpjm-cards-container {
    margin-bottom: 30px;
}

.wpjm-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.wpjm-card {
    border-radius: 16px;
    padding: 28px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wpjm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.wpjm-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.wpjm-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-20px, 20px);
}

.wpjm-card-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wpjm-card-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.wpjm-card-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}


.site {
    max-width: 1340px;
}

.wpjm-card-content h3 {
    margin: 0 0 12px 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpjm-card-number {
    font-size: 42px;
    font-weight: 700;
    margin: 12px 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpjm-card-content p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
    font-weight: 400;
}

/* Dashboard Table */
.wpjm-table-container {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    overflow: hidden;
}

.wpjm-table-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpjm-table-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.wpjm-table-count {
    color: #6c757d;
    font-size: 14px;
}

.wpjm-table-wrapper {
    overflow-x: auto;
}

.wpjm-applications-table {
    width: 100%;
    border-collapse: collapse;
}

.wpjm-applications-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e1e5e9;
}

.wpjm-applications-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    color: #495057;
}

.wpjm-applications-table tr:hover {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .elementor-25 .elementor-element.elementor-element-544520b{
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .wpjm-dashboard-wrapper {
        padding: 10px;
    }
    
    .wpjm-dashboard-container {
        flex-direction: column;
        margin: 10px auto;
        max-width: 100%;
    }

    .wpjm-sidebar-container {
        width: 100%;
        order: 2;
    }

    .wpjm-sidebar {
        width: 100%;
        padding: 20px;
        height: auto;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .wpjm-main-container {
        order: 1;
    }

    .wpjm-main-content {
        padding: 20px;
    }

    .wpjm-edit-profile-container {
        padding: 20px;
    }
    
    .wpjm-form-actions {
        flex-direction: column;
    }

    .wpjm-summary-cards {
        grid-template-columns: 1fr;
    }

    .wpjm-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .wpjm-main-content {
        padding: 15px;
    }

    .wpjm-sidebar {
        padding: 15px;
    }

    .wpjm-edit-profile-container {
        padding: 15px;
    }

    .wpjm-card {
        padding: 20px;
    }

    .wpjm-card-number {
        font-size: 28px;
    }
}

/* Filter Styles */
.wpjm-filters-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    padding: 25px;
}

.wpjm-filter-form {
    margin: 0;
}

.wpjm-filter-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.wpjm-filter-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.wpjm-filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.wpjm-filter-group input,
.wpjm-filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.wpjm-filter-group input:focus,
.wpjm-filter-group select:focus {
    outline: none;
    border-color: #02bdd4;
}

.wpjm-filter-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 0;
    align-self: flex-end;
}

.wpjm-filter-btn {
    background: #02bdd4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', Sans-serif;
    height: 48px;
    white-space: nowrap;
}

.wpjm-filter-btn:hover {
    background: #028a9a;
}

.wpjm-clear-filters {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.wpjm-clear-filters:hover {
    color: #02bdd4;
}

/* Results Header */
.wpjm-results-header {
    margin-bottom: 20px;
}

.wpjm-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e1e5e9;
}

.wpjm-results-info h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.wpjm-results-count {
    color: #6c757d;
    font-size: 14px;
}

/* Pagination Styles */
.wpjm-pagination {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #e1e5e9;
}

.wpjm-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.wpjm-pagination-container a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wpjm-pagination-container a:hover {
    background: #f8f9fa;
    border-color: #02bdd4;
    color: #02bdd4;
}

.wpjm-pagination-container .current {
    background: #02bdd4;
    border-color: #02bdd4;
    color: white;
}

.wpjm-page-number {
    margin: 0;
}

/* Action Buttons */
.wpjm-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-right: 5px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    min-height: 36px;
}

.wpjm-view-btn {
    background: #007bff;
    color: white;
}

.wpjm-view-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.wpjm-edit-btn {
    background: #28a745;
    color: white;
}

.wpjm-edit-btn:hover {
    background: #1e7e34;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(40,167,69,0.3);
}

.wpjm-no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px;
}
.action-btn {
    display: flex;
    align-items: center;
}
.wpjm-delete-btn{
    background-color: red;
    color: #fff;
}

/* Save Job Button Styles */
.elementor-element-122f125 {
    position: relative !important;
}

.wpjm-save-job-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 99 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    border: none !important;
    padding: 0 !important;
    color: #888888 !important;
    outline: none !important;
}

.wpjm-save-job-btn:hover {
    background: #ffffff !important;
    transform: scale(1.1) !important;
    color: #2768B9 !important;
}

.wpjm-save-job-btn.saved {
    color: #2768B9 !important;
}

.wpjm-save-job-btn svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    transition: fill 0.3s ease, stroke 0.3s ease !important;
}
