.listcraft-auth-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.listcraft-auth-box h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

.listcraft-form-group {
    margin-bottom: 20px !important;
}

.listcraft-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.listcraft-form-group input[type="text"],
.listcraft-form-group input[type="email"],
.listcraft-form-group input[type="password"],
.listcraft-form-group input[type="tel"] {
    width: 100% !important;
    height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.listcraft-form-group textarea {
    width: 100% !important;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.listcraft-form-group input:focus,
.listcraft-form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.listcraft-form-group input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}

.listcraft-form-group.remember-row label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.listcraft-form-group input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin-right: 6px;
    cursor: pointer;
}

.current-images-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.preview-img-wrapper {
    position: relative;
    width: 65px;
    height: 65px;
}

.preview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.btn-remove-single-img {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dc2626;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.btn-remove-single-img:hover {
    transform: scale(1.15);
}

.listcraft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600;
    border-radius: 8px !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.listcraft-btn:active {
    transform: scale(0.98);
}

.listcraft-btn-primary {
    background: #2563eb !important;
    color: #ffffff !important;
}

.listcraft-btn-primary:hover {
    background: #1d4ed8 !important;
}

.listcraft-btn-success {
    background: #059669 !important;
    color: #ffffff !important;
}

.listcraft-btn-success:hover {
    background: #047857 !important;
}

.listcraft-btn-secondary {
    background: #64748b !important;
    color: #ffffff !important;
}

.listcraft-btn-secondary:hover {
    background: #475569 !important;
}

.listcraft-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-top: 10px;
}

.listcraft-alert.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.listcraft-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.listcraft-dashboard-wrapper {
    width: 100%;
    margin: 0px auto 0px auto;
    font-family: inherit;
    color: #1e293b;
    box-sizing: border-box;
}

.listcraft-dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.listcraft-dashboard-topbar h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.listcraft-dashboard-topbar .user-greeting {
    font-size: 14px;
    color: #64748b;
}

.listcraft-dashboard-topbar .user-greeting strong {
    color: #0f172a;
}

.listcraft-tabs-layout {
    display: flex;
    gap: 28px;
    /*align-items: flex-start;*/
}

.listcraft-tab-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 230px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.listcraft-tab-nav .tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease-in-out;
}

.listcraft-tab-nav .tab-item:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.listcraft-tab-nav .tab-item.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.listcraft-notice p {
    margin: 0;
}

.listcraft-notice a {
	color: var( --e-global-color-primary );
}

#tab-add-listing #form-heading-title {
    margin-bottom: 20px !important;
}

#tab-profile h3{
	margin-bottom: 20px !important;
}

.wp-switch-editor {
	font-size: 13px !important;
	margin: 0px 0px 0px 5px !important;
    padding: 4px 11px 9px 10px !important;
}

.listcraft-tab-nav .tab-item-logout a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #e53e3e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.listcraft-tab-nav .tab-item-logout a:hover {
    background: #fed7d7;
    color: #9b2c2c;
}

.listcraft-tab-content-area {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.listcraft-tab-pane {
    display: none;
}

.listcraft-tab-pane.active {
    display: block;
}

.tab-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.tab-pane-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.listcraft-tab-pane h3 {
    margin: 0 0 0px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 0px;
}

.listcraft-table-responsive {
    overflow-x: auto;
}

.listcraft-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.listcraft-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}

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

.listcraft-table tr:hover td {
    background: #f8fafc;
}

.table-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.table-no-thumb {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: #94a3b8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.table-subtext {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}

.listcraft-badge {
    display: inline-block;
    padding: 4px 10px 7px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.status-approved {
    background: #dcfce7;
    color: #15803d;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.listcraft-action-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.listcraft-auth-box p {
    margin: 0;
}

.listcraft-auth-box a{
	color: var( --e-global-color-primary );
}

.btn-edit-listing:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-delete-listing {
    color: #dc2626;
    border-color: #fecaca;
}

.btn-delete-listing:hover {
    background: #fef2f2;
}

.listcraft-notice {
    padding: 15px 20px;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

@media (max-width: 820px) {
    .listcraft-tabs-layout {
        flex-direction: column;
    }
    .listcraft-tab-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    .listcraft-tab-nav .tab-item,
    .listcraft-tab-nav .tab-item-logout a {
        white-space: nowrap;
    }
    .listcraft-tab-content-area {
        padding: 15px;
    }
}