/* CSS Document */
        .my-account-my-design { max-width: 1000px; margin: 0 auto; padding:5px 10px;}
        .tabs-nav { list-style: none; display: flex; border-bottom: 2px solid #ddd; padding: 0; }
        .tabs-nav li { margin-right: 25px; }
        .tabs-nav li a { text-decoration: none; color: #333; font-weight: 600; padding: 12px 0; display: block; }
        .tabs-nav li.active a { color: #000; border-bottom: 3px solid #000; }
        .tabs-nav .count { background: #eee; border-radius: 12px; padding: 2px 8px; font-size: 0.85em; margin-left: 6px; }

        .designs-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            margin-top: 30px;
        }

        .design-item {
            border: 1px solid #eee;
            border-radius: 8px;
            background: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,.08);
            overflow: hidden;
            width: 25%;
            cursor: pointer;
            position: relative; /* For absolute positioning the delete btn */
        }

        .design-image {
            position: relative;
        }
        .design-image img { width: 100%; display: block; }
        .design-delete-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background: #fff;
            color: #e53935;
            border: none;
            border-radius: 50%;
            font-size: 19px;
            font-weight: bold;
            width: 32px;
            height: 32px;
            line-height: 30px;
            text-align: center;
            cursor: pointer;
            z-index: 2;
            box-shadow: 0px 2px 6px rgba(0,0,0,.18);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            transition: background 0.15s;
        }
        .design-delete-btn:hover {
            background: #fbe9e7;
            color: #d32f2f;
        }

        .design-info { padding: 12px; text-align: center; }
        .design-info h3 { margin: 0 0 6px; font-size: 1.05em; }
        .price { color: #e91e63; font-weight: bold; }
        .my-account-upload-design{
            border-radius: 25px;
            background: #000;
            border: 1px solid #fff;
            margin-top:10px;
        }
        .my-account-upload-design:hover{
            background: #000;
            color: #fff;
        }
        .my-account-upload-design:focus{
            background: #000;
            color: #fff;
        }
        .my-account-upload-design a{
            color:#fff;
            text-decoration:none;
        }
        #design-tab-content {
            position: relative;
            min-height: 300px;
        }

        /* Loader wrapper */
        .tab-loader {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.7);
            z-index: 10;
        }

        /* Circle spinner */
        .tab-loader::after {
            content: "";
            width: 45px;
            height: 45px;
            border: 4px solid #ddd;
            border-top-color: #e91e63;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

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


        .earnings-wrapper {
        font-family: Arial, sans-serif;
        width: 100%;
        display:flex;
        gap:5px;
        margin:10px 0;
        }

        .earnings-card {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        width: 50%;
        }

        .earnings-card h3 {
        margin-bottom: 15px;
        font-size: 18px;
        }

        .earnings-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 10px;
        }

        .earnings-row span {
        font-size: 14px;
        }

        .earnings-row small {
        color: #777;
        }

        .earnings-row strong {
        font-size: 16px;
        }

        .green {
        background: #e9f8ef;
        color: #1a7f37;
        }

        .gray {
        background: #f3f3f3;
        }

        .earnings-note {
            background: #eef4ff;
            border: 1px solid #cddcff;
            color: #333;
            font-size: 13px;
            padding: 10px;
            border-radius: 6px;
            text-align:center;
        }

        .bank-details {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .bank-icon {
            font-size: 22px;
        }

        .save-btn {
            background: #000;
            color: #fff;
            border: none;
            padding: 6px 16px;
            border-radius: 6px;
            cursor: pointer;
            margin-bottom: 15px;
        }

        .save-btn:hover {
            opacity: 0.9;
        }

        .payment-info h4 {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .payment-info p {
            font-size: 13px;
            line-height: 1.4;
        }
        /* Image modal styles */
        #design-image-modal {
            display: none;
            position: fixed;
            z-index: 99999;
            left: 0; top: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.85);
            justify-content: center;
            align-items: center;
            transition: opacity 0.2s;
        }
        #design-image-modal.active { display: flex; }
        #design-image-modal .modal-content {
            position: relative;
            background: transparent;
            padding: 15px;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        #design-image-modal .modal-img {
            max-width: 80vw;
            max-height: 65vh;
            border-radius: 8px;
            background: #fff;
            padding: 8px;
            margin-bottom: 20px;
        }
        #design-image-modal .close-modal {
            position: absolute;
            top: 8px;
            right: 12px;
            background: #fff;
            color: #000;
            border: none;
            border-radius: 20px;
            font-size: 20px;
            font-weight: bold;
            width: 32px;
            height: 32px;
            line-height: 1;
            cursor: pointer;
            z-index: 999999;
            box-shadow: 0 1px 6px rgba(0,0,0,.16);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #design-image-modal .nav-btn {
            outline: none;
            border: none;
            background: #fff;
            color: #000;
            padding: 8px 14px;
            border-radius: 6px;
            font-size: 18px;
            font-weight: bold;
            margin: 0 10px;
            cursor: pointer;
            transition: background .2s;
        }
        #design-image-modal .nav-btn:hover {
            background: #f3f3f3;
        }
        /* NEW: modal for rejection reason */
        .modal-bg-reason {
            display: none;
            position: fixed;
            z-index: 100000;
            left: 0; top: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.45);
            align-items: center;
            justify-content: center;
        }
        .modal-bg-reason.active {
            display: flex;
        }
        .modal-reason {
            min-width: 240px;
            max-width: 95vw;
            background: #fff;
            border-radius: 12px;
            padding: 24px 18px 14px 18px;
            box-shadow: 0 3px 28px rgba(0,0,0,0.14);
            max-width: 400px;
            font-size:1em;
            position: relative;
            text-align:left;
        }
        .modal-reason h4 {
            margin-top:0;margin-bottom: 15px; font-weight:600;
        }
        .close-modal-reason {
            position: absolute;
            top: 10px;
            right: 13px;
            background: #fff;
            color: #666;
            border: none;
            border-radius: 14px;
            font-size: 22px;
            font-weight: bold;
            width: 30px;
            height: 30px;
            line-height: 1;
            cursor: pointer;
            z-index: 999999;
            box-shadow: 0 1px 6px rgba(0,0,0,.14);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .close-modal-reason:hover{
            background:#000;

        }
        .view-reason-btn {
            background: #000 !important;
            color: #fff;
            border: none;
            padding: 2px 11px;
            border-radius: 4px;
            font-size: 0.98em;
            font-weight: 600;
            margin-top: 7px;
            cursor: pointer;
            margin-left:4px;
            transition:background 0.17s;
            vertical-align:middle;
            display:inline-block;
        }
        
        .remove-product-btn{
            padding: 2px;
            background: #000 !important;
            color: #fff !important;
            border-color: #000 !important;
            margin-top:5px;
        }

        .preview-container {
            /* padding: 40px 60px; */
            background: #000;
            /* border-radius: 24px; */
            border: 1px solid #25253f;
            /* box-shadow: 
                0 20px 60px rgba(0,0,0,0.6),
                inset 0 1px 0 rgba(100,100,255,0.06); */
            margin-bottom: 20px;
        }

        .preview-container .button-group {
            display: flex;
            gap: 12px;
            /* background: rgba(30, 30, 60, 0.4); */
            /* backdrop-filter: blur(10px); */
            /* -webkit-backdrop-filter: blur(10px); */
            padding: 12px;
            /* border-radius: 16px; */
            border: 1px solid rgba(60, 60, 120, 0.35);
        }

        .preview-container .button-group .btn {
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 500;
            color: #e0e0ff;
            background: #bd8d2675;
            border: 1px solid #bd8d26;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.22s ease;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            text-shadow: 0 1px 2px rgba(0,0,0,0.4);
        }

        .preview-container .button-group .btn:hover {
            background: #bd8d2675;
            border-color: #bd8d26;
            color: white;
            transform: translateY(-1.5px);
            box-shadow: 0 8px 24px #bd8d26;
        }

        .preview-container .button-group .btn:active {
            transform: translateY(0);
            box-shadow: 0 3px 12px rgba(80, 80, 180, 0.15);
        }

        .preview-container .button-group .btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(100, 120, 255, 0.4);
        }
        .preview-container .button-group img{
            height:50px;
        }

        .custom-toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #111;
            color: #fff;
            padding: 12px 20px;
            border-radius: 6px;
            font-size: 14px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 999999;
        }

        .custom-toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .earnings-wrapper{
                display: inline;
            }
            .earnings-card{
                width: 100%;
            }
            #design-image-modal .modal-img {
                max-width: 96vw;
                max-height: 60vh;
            }
            
            .preview-container .button-group{
                justify-content: space-evenly;
            }
            .design-item{
                width: 45%;
            }
            .my-account-my-design h2{
                    font-size:17px;
            }
        }
        @media (max-width: 768px) {
            .preview-container .button-group .btn{
                padding:2px 18px;
                font-size:12px;
            }
            
        }

        .profile-header {
            background: #0f172a;
            color: #fff;
            overflow: hidden;
        }

        /* COVER */
        .cover-photo {
            position: relative;
            height: 220px;
        }

        .cover-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* EDIT BUTTON */
        .edit-cover {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #fff;
            color: #000;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
        }

        /* OVERLAY */
        .cover-overlay {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 30px;
        }

        /* FOLLOW BOX */
        .follow-box {
            text-align: center;
            font-size: 12px;
            margin-top:57px;
        }

        .follow-box strong {
            display: block;
            font-size: 16px;
        }
        .avatar-center{
            width: 100px;
        }
        /* AVATAR */
        .avatar-center img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            border: 4px solid #0f172a;
            background: #fff;
        }

        /* INFO */
        .profile-info-center {
            text-align: center;
            padding: 38px 0px 16px;
            
        }

        .bio {
            color: #ccc;
            font-size: 14px;
        }

        /* BUTTONS */
        .profile-actions button {
            background: none;
            border: 2px solid #1d4ed8;
            color: #fff;
            padding: 8px 14px;
            border-radius: 6px;
            margin: 5px;
            cursor: pointer;
        }
        .page-id-13 .entry-title{
            display:none;
        }
        

        @media (max-width:500px){
            .cover-photo{
                height:150px;
            }
            
        }
        #editNameBtn{
            border: none !important;
            background: transparent !important;
            padding: 0 !important;
            cursor: pointer;
            transform: translateY(-10px);
        }
        #saveNameBtn{
            background-color: green !important;
            color: #fff !important;
            border: none !important;

        }
        #editNameBtn img{
            height: 16px;
        }
		
		
.profile_name_with_editor{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 300px;
    margin: 0 auto;
    padding-top: 20px;
}

