/* Nekaseeker Custom Claim Listing Styles */

/* Claim Button in Title Area */
.directorist-listing-details__listing-title + .nekaseeker-claim-wrapper {
    margin: 15px 0 25px 0;
    display: inline-block;
}

.directorist-listing-details__listing-title + .nekaseeker-claim-wrapper .nekaseeker-claim-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 15px;
}

.directorist-listing-details__listing-title + .nekaseeker-claim-wrapper .nekaseeker-claim-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Regular Claim Button */
.nekaseeker-claim-wrapper {
    margin: 20px 0;
}

/* .hiddenbutton{
    display: none !important;
}
.default-add-listing-bottom .directorist-form-submit__btn[disabled] {
   display: none !important;
}
.nekaseeker-claim-finish-btn{
    display: block !important;
} */
a.directorist-btn.directorist-btn-lg.directorist-btn-light.atbdp_not_now_button {
    color: #316d69 !important;
    border: 2px solid #316d69;
    background: var(--directorist-color-light) !important;
    font-weight: bold;
    display: none;
}

.nekaseeker-claim-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nekaseeker-claim-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

/* Modal Styles */
.nekaseeker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nekaseeker-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nekaseeker-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nekaseeker-modal-title {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.nekaseeker-modal-close {
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.nekaseeker-modal-close:hover {
    color: #333;
}

.nekaseeker-modal-body {
    padding: 30px;
}

/* Form Styles */
.nekaseeker-form-group {
    margin-bottom: 20px;
}

.nekaseeker-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.nekaseeker-form-group .required {
    color: #e74c3c;
}

.nekaseeker-form-group input,
.nekaseeker-form-group select,
.nekaseeker-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.nekaseeker-form-group input:focus,
.nekaseeker-form-group select:focus,
.nekaseeker-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.nekaseeker-form-group input.error,
.nekaseeker-form-group select.error {
    border-color: #e74c3c;
}

.nekaseeker-show-plans-btn {
    background: #f8f9fa;
    color: #007cba;
    border: 1px solid #007cba;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.nekaseeker-show-plans-btn:hover {
    background: #007cba;
    color: #fff;
}

/* Form Actions */
.nekaseeker-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nekaseeker-btn-primary,
.nekaseeker-btn-secondary {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.nekaseeker-btn-primary {
    background: #007cba;
    color: #fff;
}

.nekaseeker-btn-primary:hover {
    background: #005a87;
}

.nekaseeker-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.nekaseeker-btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.nekaseeker-btn-secondary:hover {
    background: #e9ecef;
}

/* Messages */
.nekaseeker-success {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 15px 0;
}

.nekaseeker-error {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 15px 0;
}

/* Payment Messages */
.nekaseeker-payment-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
}

.nekaseeker-payment-message.nekaseeker-success {
    background: #28a745;
    color: white;
}

.nekaseeker-payment-message.nekaseeker-error {
    background: #dc3545;
    color: white;
}

.nekaseeker-payment-message.nekaseeker-info {
    background: #17a2b8;
    color: white;
}

.nekaseeker-payment-message button {
    background: none;
    border: none;
    color: inherit;
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nekaseeker-payment-message button:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Pricing Plans Styles */
.nekaseeker-pricing-plans-wrapper {
    margin: 30px 0;
}

.nekaseeker-pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.nekaseeker-pricing-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Ensure proper clickable area */
    display: block;
    width: 100%;
    /* Prevent text selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Ensure smooth interaction */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.nekaseeker-pricing-card:hover {
    border-color: #007cba;
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.15);
    transform: translateY(-3px);
}

.nekaseeker-pricing-card:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Ensure all child elements don't interfere with clicks */
.nekaseeker-pricing-card * {
    pointer-events: none;
}

.nekaseeker-pricing-card.featured {
    border-color: #ff6b35;
    position: relative;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-width: 3px;
}

.nekaseeker-pricing-card.featured::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Additional plan variants to match the image */
.nekaseeker-pricing-card[data-plan-title*="Starter"],
.nekaseeker-pricing-card[data-plan-title*="Free"] {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-color: #90c695;
}

.nekaseeker-pricing-card[data-plan-title*="Essential"],
.nekaseeker-pricing-card[data-plan-title*="Basic"] {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-color: #64b5f6;
}

.nekaseeker-pricing-card[data-plan-title*="Branded"],
.nekaseeker-pricing-card[data-plan-title*="Premium"] {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe8cc 100%);
    border-color: #ffb74d;
}

/* Plan-specific color schemes */
.nekaseeker-pricing-card[data-plan-title*="Starter"]:hover,
.nekaseeker-pricing-card[data-plan-title*="Free"]:hover {
    border-color: #4caf50;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.nekaseeker-pricing-card[data-plan-title*="Essential"]:hover,
.nekaseeker-pricing-card[data-plan-title*="Basic"]:hover {
    border-color: #2196f3;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
}

.nekaseeker-pricing-card[data-plan-title*="Featured"]:hover {
    border-color: #ff6b35;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.nekaseeker-pricing-card[data-plan-title*="Branded"]:hover,
.nekaseeker-pricing-card[data-plan-title*="Premium"]:hover {
    border-color: #ff9800;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
}

/* Enhanced hover effects */
.nekaseeker-pricing-card:hover .plan-title {
    color: #007cba;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.nekaseeker-pricing-card:hover .plan-price .price {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.plan-header {
    margin-bottom: 25px;
}

.plan-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-price {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.plan-price .price {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    display: block;
    line-height: 1;
}

.plan-price .period {
    font-size: 14px;
    color: #888;
}

.plan-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 14px;
}

.plan-features {
    text-align: left;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-list li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.plan-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Select plan button styles */
.select-plan-btn {
    width: 100%;
    padding: 12px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.select-plan-btn:hover {
    background: #005a87;
}

.nekaseeker-pricing-card.selected .select-plan-btn {
    background: #28a745;
}

.nekaseeker-pricing-card.selected .select-plan-btn:hover {
    background: #1e7e34;
}

.plan-actions {
    padding: 15px 0 0 0;
}

.nekaseeker-pricing-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

/* Claimed Tag Styles */
.nekaseeker-claimed-tag {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.nekaseeker-available-tag {
    background: #6c757d;
    color: #fff;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.nekaseeker-claimed-tag.verified {
    background: #17a2b8;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.nekaseeker-claimed-tag.premium {
    background: #ffc107;
    color: #000;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* Claim Status Indicators */
.nekaseeker-claim-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.nekaseeker-claim-status .status-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.nekaseeker-claim-status .status-icon.claimed {
    background: #28a745;
}

.nekaseeker-claim-status .status-icon.available {
    background: #6c757d;
}

.nekaseeker-claim-status .status-text {
    font-size: 14px;
    color: #495057;
}

/* Modal Open Body */
body.nekaseeker-modal-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nekaseeker-pricing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nekaseeker-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .nekaseeker-modal-body {
        padding: 20px;
    }
    
    .nekaseeker-form-actions {
        flex-direction: column;
    }
    
    .nekaseeker-pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nekaseeker-pricing-card {
        padding: 25px 15px;
    }
    
    .plan-title {
        font-size: 18px;
    }
    
    .plan-price .price {
        font-size: 36px;
    }
}

/* Admin Styles */
.claim-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-publish {
    background: #d1e7dd;
    color: #0f5132;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Claimed/Available Tags */
.nekaseeker-claimed-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #28a745;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px 0;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    position: relative;
}

.nekaseeker-claimed-tag:before {
    content: "✓";
    margin-right: 4px;
    font-weight: bold;
}

.nekaseeker-available-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #6c757d;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px 0;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.nekaseeker-available-tag:before {
    content: "○";
    margin-right: 4px;
    font-weight: bold;
}

/* Verified Business Variants */
.nekaseeker-claimed-tag.verified {
    background: linear-gradient(135deg, #007cba, #005a87);
    box-shadow: 0 3px 6px rgba(0, 124, 186, 0.4);
}

.nekaseeker-claimed-tag.verified:before {
    content: "★";
}

.nekaseeker-claimed-tag.premium {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #333;
    box-shadow: 0 3px 6px rgba(255, 215, 0, 0.4);
}

.nekaseeker-claimed-tag.premium:before {
    content: "♔";
    color: #333;
}

/* Loading States */
.nekaseeker-loading {
    opacity: 0.6;
    pointer-events: none;
}

.nekaseeker-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Branded Website Plan Specific Styles */
#pricing_plan option[value="4353"] {
    background-color: #f0f8ff;
    font-weight: bold;
    color: #1e6091;
}

#pricing_plan:focus option[value="4353"]:selected {
    background-color: #316d69;
    color: white;
}

/* Button Text Transition for Branded Website */
.nekaseeker-btn-primary .submit-text,
.nekaseeker-btn-primary .payment-text {
    transition: all 0.3s ease;
}

/* Highlighted state when branded website plan is selected */
.branded-website-selected .nekaseeker-btn-primary {
    background: linear-gradient(135deg, #316d69 0%, #1e6091 100%);
    box-shadow: 0 4px 15px rgba(49, 109, 105, 0.3);
}

.branded-website-selected .nekaseeker-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 109, 105, 0.4);
}

/* Success message specific to branded website */
.nekaseeker-info.branded-website {
    background: linear-gradient(135deg, #316d69 0%, #1e6091 100%);
    color: white;
    border-left: 5px solid #0f4c75;
}

/* Plan-based Navigation Hiding */
.nekaseeker-claim-add-listing-wrapper .multistep-wizard__nav__btn.nekaseeker-hidden-nav {
    display: none !important;
}

/* Smooth transition for navigation items */
.nekaseeker-claim-add-listing-wrapper .multistep-wizard__nav__btn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide navigation items when their corresponding sections are hidden */
.nekaseeker-claim-add-listing-wrapper .multistep-wizard__content__step[style*="display: none"] + .multistep-wizard__nav__btn,
.nekaseeker-claim-add-listing-wrapper .multistep-wizard__content__step[style*="display:none"] + .multistep-wizard__nav__btn {
    display: none !important;
}

/* Additional CSS for plan-restricted field navigation hiding */
.nekaseeker-claim-add-listing-wrapper .multistep-wizard__nav {
    /* Ensure proper layout when items are hidden */
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Mobile responsive navigation hiding */
@media (max-width: 768px) {
    .nekaseeker-claim-add-listing-wrapper .multistep-wizard__nav__btn.nekaseeker-hidden-nav {
        display: none !important;
    }
}

/* Toast Notification Styles */
.nekaseeker-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: toastSlideIn 0.4s ease-out;
    max-width: 350px;
    word-wrap: break-word;
}

.nekaseeker-toast.success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.nekaseeker-toast.error {
    background: #dc3545;
    border-left: 4px solid #c82333;
}

.nekaseeker-toast.info {
    background: #17a2b8;
    border-left: 4px solid #138496;
}

.nekaseeker-toast.warning {
    background: #ffc107;
    color: #212529;
    border-left: 4px solid #e0a800;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile responsiveness for toast */
@media (max-width: 768px) {
    .nekaseeker-toast {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}
