/* #writeBtn{
    position: relative;
}
#writeBtn::before {
    content: "";
    display: inline-block;
    height: 22px;
    width: 22px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAixJREFUSEu1lUuIjnEUxn8PUSJWyi2LMbYjlw2NImXjGguUjcVYyMJYuCzcCmWhiFKykci9UCQMJcWCBTbUKCISpaSIerxH/2/6fN4bY/7L91yec57znPOKAX7Ky2+7F9gq6Wx/8f8AsD0GeAsckNQ9EAB7o3rgA9Am6XN/QH7rwPZa4DAwJCW9BayW9K4VxPZ4YDJwX9LXoiJ+AdjeBywHJuU4fgMuBbCkuw17itkEdEq6VwWwG+gAFgKtc3kOXAfOtQBcSf5dko6VAjRVtRS4AAxK33qAxZK+5FAUSmsDDkraUAsg0bUf2Ah8AtolfcxJPjQTQlAX74ak+X8DEMN7XVaZ7WnAw5T0TUbRhNoAqYtof7Ok8wWLuB441GQbm6e0sOducpnuU/Wnk0QbrieA7jw6KwFsDwamA3OA4HpeQQEhhIuZ351MujclvarswHYncA0Y8Q/b3CupPe8W7cg2eY+kH7ZHA2tS9bNrAkXl0UWPpOOtpyJouA1skxTL1/cSVTOAJcCWlvm9j5hEzYvmuD4A2zMTHaOSwzpJRwpUdBToarItkHQ1z7dxi0LHD4BxTU6xSMvyAm0vAi4n3zh0IyV9LwRI2h+eSe9kouBp3BlJLws6mJjNpmF7LGlKrUXLLuSwtMWzJD0rCrIdnYcsw/+MpJW1AFIncyXFoEuf7UfZGZ+aOe2UtKs2QFXiht32KWAVsKLs3125ySU0bc+kGpV3SHry3zuo2+lPebnGGdsHOUEAAAAASUVORK5CYII=);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: -7px;
    top: 42%;
    transform: translateY(-50%);
} */

#output {
    height: 400px;
}

.twitter-tool {
    background-color: #000000;
}

.badge {
    font-size: 13px;
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 18px;
}

.credit-area .user-badge {
    text-align: center;
}

.tools-header {
    padding: 9px 15px;
}

.user-profile-pop {
    right: 10px;
    top: 65px;
}


.about-ai-tone {
    background-color: #4F80FF24;
}

.profile-info-area form label textarea {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: none;
    outline: none;
    margin-top: 5px;
    width: 100%;
}

.about-content p {
    -moz-box-orient: inherit
}

@media all and (max-width:990px) {
    .credit-area .user-badge {
        text-align: left;
    }
}

/* =========================================
   PREMIUM PRICING TABLE DESIGN
   ========================================= */

.pricing-area {
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    /* Vertical center alignment */
    justify-content: center;
    /* Horizontal center alignment */
    padding-top: 60px;
    /* Space for the tag */
    padding-bottom: 60px;
    /* Added padding bottom */
    display: flex;
}

.single-price-area {
    width: 32%;
    /* Fits 3 in a row */
    min-width: 300px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    padding: 40px 25px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    margin: 0;
}

/* Free Plan Styling (Horizontal Layout) */
.single-price-area.free-plan {
    width: 90%;
    max-width: 1100px;
    margin-top: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid #edf2f7;
    text-align: left;
    /* Reset center alignment */
}

.single-price-area.free-plan:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-color: #edf2f7;
}

/* Header Section */
.free-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.free-header-left .plan-name {
    color: #22c55e;
    /* Green label */
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.free-header-left .plan-price h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.free-header-left .plan-price h2 span {
    font-size: 16px;
    color: #718096;
    font-weight: 500;
    text-transform: capitalize;
}

/* Header Buttons */
.free-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Button Styles */
.btn-activate {
    background: #1e2029 !important;
    /* Darker background */
    color: white !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    /* Extra bold */
    font-size: 14px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(30, 32, 41, 0.2);
}

.btn-activate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 32, 41, 0.3);
    background: #111217 !important;
}

.btn-activate.activated {
    background: #cbd5e0 !important;
    cursor: default;
    box-shadow: none;
    transform: none;
}

/* Divider */
.free-plan-divider {
    height: 1px;
    background: #edf2f7;
    margin: 30px 0;
    width: 100%;
}

/* Features List */
.single-price-area.free-plan ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    border: none;
}

.single-price-area.free-plan ul li {
    width: 50%;
    /* 2 columns */
    margin-bottom: 12px;
    font-size: 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.single-price-area.free-plan ul li i {
    color: #22c55e !important;
    /* Green checks */
    background: transparent !important;
    font-size: 16px !important;
    min-width: auto;
    height: auto;
    margin-right: 10px;
    border-radius: 0;
}

/* Hover Effect */
.single-price-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(61, 115, 255, 0.15);
}

/* Plan Title */
.single-price-area h2 {
    font-size: 26px;
    /* Larger title */
    font-weight: 900;
    /* Extra bold */
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    color: #1a202c;
    text-transform: uppercase;
}

/* Regular Price (Red Text) */
.single-price-area h4 {
    font-size: 16px;
    color: #ef4444;
    /* Red color */
    font-weight: 600;
    margin-bottom: 15px;
    text-decoration: none !important;
    /* Remove any double decoration */
    font-family: "Poppins", sans-serif;
}

.single-price-area h4 del {
    text-decoration: none;
    /* Reset standard strikethrough */
    position: relative;
    display: inline-block;
}

/* Custom Strikethrough Line */
.single-price-area h4 del::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 1.5px;
    background: #ef4444;
    transform: rotate(-10deg);
    /* Angled strike */
}

/* Pricing Section */
.single-tools-pricing {
    background: transparent;
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #edf2f7;
    border-top: 1px solid #edf2f7;
}

.single-tools-pricing h2 {
    font-size: 64px;
    /* Much larger price */
    color: #3D73FF;
    /* Brand Color */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.single-tools-pricing p {
    color: #a0aec0;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Feature List */
.single-price-area ul {
    text-align: left;
    margin: 30px 0;
    padding: 0 10px;
}

.single-price-area ul li {
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 15px;
    font-weight: 500;
}

.single-price-area ul li i {
    color: #3D73FF;
    background: rgba(61, 115, 255, 0.08);
    /* Checkmark styling */
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 12px;
}

/* Action Buttons */
.single-price-area button,
.single-price-area button[type="submit"] {
    background: linear-gradient(135deg, #3D73FF 0%, #5d8aff 100%);
    color: white;
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(61, 115, 255, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-price-area button:hover {
    box-shadow: 0 12px 25px rgba(61, 115, 255, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2b63f3 0%, #4a7dff 100%);
}

.single-price-area button:disabled {
    background: #cbd5e0;
    box-shadow: none;
    cursor: default;
    transform: none;
    color: #718096;
}

/* Contact Badge */
.single-price-area a.badge {
    background: #f7fafc;
    color: #718096;
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.3s;
    border: 1px solid #edf2f7;
}

.single-price-area a.badge:hover {
    background: #fff;
    border-color: #3D73FF;
    color: #3D73FF;
}

/* ================= PREMIUIM CARD HIGHLIGHT ================= */

/* Target the middle card (Premium) */
.single-price-area:nth-child(2) {
    transform: scale(1.08);
    z-index: 10;
    border: 2px solid #3D73FF;
    box-shadow: 0 25px 50px rgba(61, 115, 255, 0.15);
}

.single-price-area:nth-child(2):hover {
    transform: scale(1.08) translateY(-10px);
}

/* "Most Popular" Tag */
.single-price-area:nth-child(2)::before {
    content: "Most Popular";
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #3D73FF;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(61, 115, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .pricing-area {
        gap: 20px;
    }

    .single-price-area {
        width: 48%;
        /* 2 per row */
        max-width: 48%;
        /* Ensure it doesn't grow */
    }

    .single-price-area.free-plan {
        width: 100%;
        max-width: 100%;
    }

    .single-price-area:nth-child(2) {
        transform: scale(1);
        /* Disable scale on tablet */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        /* Reset shadow */
        border: 1px solid rgba(0, 0, 0, 0.03);
        /* Reset border */
    }

    .single-price-area:nth-child(2):hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .single-price-area {
        width: 100%;
        /* 1 per row */
        max-width: 100%;
        margin-bottom: 30px;
    }

    .pricing-area {
        padding-top: 30px;
    }

    .free-plan-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .free-header-right {
        width: 100%;
    }

    .btn-chat,
    .btn-activate {
        flex: 1;
        justify-content: center;
    }

    .single-price-area.free-plan ul li {
        width: 100%;
    }
}

/* =========================================
   DASHBOARD TOOL CARDS POLISH
   ========================================= */

/* Section Headers */
.ai-tools-container>h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1a202c;
    border-bottom: 1px dashed #e2e8f0 !important;
    /* Clean dashed separator */
    padding-bottom: 15px !important;
    margin-bottom: 30px !important;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Styled Marker */
.ai-tools-container>h2::before {
    content: '';
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    height: 8px;
    width: 8px;
    background: #3D73FF;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(61, 115, 255, 0.2);
    /* Ring effect */
}

/* Tool Card Container */
.single-ai-tool {
    border-radius: 24px !important;
    /* Premium rounded look */
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border for glass effect */
}

.single-ai-tool:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Typography */
.single-ai-tool h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    /* Force white text */
    border-bottom: none !important;
    /* Ensure no border */
}

.single-ai-tool p {
    font-size: 14px !important;
    font-weight: 500 !important;
    opacity: 0.9;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    max-width: 90%;
}

/* "Open Tool" Button */
.single-ai-tool a {
    background: #ffffff !important;
    color: #1a202c !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto !important;
    /* Ensure button stays at bottom */
}

.single-ai-tool a::after {
    content: '\f061';
    /* FontAwesome arrow right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s;
}

.single-ai-tool a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.single-ai-tool a:hover::after {
    transform: translateX(4px);
}

/* Specific Platform Colors & Vector Backgrounds */

/* Common Vector Icon Style */
.single-ai-tool::before {
    font-family: "Font Awesome 5 Brands";
    /* Ensure Brands font is used */
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 180px;
    opacity: 0.1;
    /* Subtle watermark effect */
    transform: rotate(-15deg);
    pointer-events: none;
    line-height: 1;
}

/* LinkedIn (Deep Blue) */
.linkedin-tool {
    background: linear-gradient(135deg, #0077b5 0%, #005e93 100%) !important;
}

.linkedin-tool::before {
    content: '\f08c';
    /* fa-linkedin */
}

/* Quora (Vibrant Red) */
.quora-tool {
    background: linear-gradient(135deg, #b92b27 0%, #a01d19 100%) !important;
}

.quora-tool::before {
    content: '\f2c4';
    /* fa-quora */
}

/* Twitter/X (Sleek Black) */
.twitter-tool {
    background: linear-gradient(135deg, #14171a 0%, #000000 100%) !important;
}

.twitter-tool::before {
    content: '\f099';
    /* fa-twitter */
    font-size: 160px;
    /* Slightly smaller to fit */
}

/* YouTube (Brand Red) */
.youtube-tool {
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
}


/* =========================================
   CREDIT HISTORY PAGE POLISH
   ========================================= */

/* Main Container */
.credit-history-area .table-area {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    padding: 2px;
    /* Slight padding for border effect */
    border: 1px solid #edf2f7;
    overflow: hidden;
    /* For rounded corners */
}

/* Table Style */
.credit-history-area .table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Header */
.credit-history-area thead th {
    background: #3D73FF !important;
    /* Brand Blue */
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    padding: 18px 20px;
    border: none;
    letter-spacing: 0.5px;
}

.credit-history-area thead th:first-child {
    border-top-left-radius: 12px;
}

.credit-history-area thead th:last-child {
    border-top-right-radius: 12px;
}

/* Rows */
.credit-history-area tbody tr td,
.credit-history-area tbody tr th {
    vertical-align: middle;
    padding: 18px 20px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f7fafc;
    background: #fff;
    transition: all 0.2s ease;
}

.credit-history-area tbody tr:hover td,
.credit-history-area tbody tr:hover th {
    background: #f8fafc;
    /* Highlight on hover */
    transform: translateX(5px);
    color: #2d3748;
}

/* Badges */
.credit-history-area .badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credit-history-area .bg-success {
    background: #c6f6d5 !important;
    color: #22543d !important;
    box-shadow: 0 2px 10px rgba(72, 187, 120, 0.2);
}

.credit-history-area .bg-danger {
    background: #fed7d7 !important;
    color: #742a2a !important;
    box-shadow: 0 2px 10px rgba(245, 101, 101, 0.2);
}

/* Pagination polish */
.credit-history-area .pagination {
    margin-top: 25px;
    padding-bottom: 25px;
    gap: 5px;
}

.credit-history-area .page-link {
    border: none;
    border-radius: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 14px;
    background: #edf2f7;
    transition: 0.2s;
}

.credit-history-area .page-item.active .page-link {
    background: #3D73FF;
    color: #fff;
    box-shadow: 0 4px 10px rgba(61, 115, 255, 0.3);
}


/* =========================================
   CUSTOMIZE AI PAGE POLISH
   ========================================= */

/* "Add Tone" Button */
.add-tone-btn {
    background: linear-gradient(135deg, #3D73FF 0%, #2b63f3 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 15px rgba(61, 115, 255, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.add-tone-btn i {
    font-size: 18px;
}

.add-tone-btn p {
    margin: 0;
    font-size: 15px;
}

.add-tone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(61, 115, 255, 0.35);
}

/* Tone Card Container */
.single-ai-tone {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 25px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single-ai-tone:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Tone Header */
.tone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #edf2f7;
}

.tone-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tone-header h2 i {
    color: #3D73FF;
    font-size: 18px;
}

/* Action Icons */
.tone-header-icon-group {
    display: flex;
    gap: 8px;
}

.tone-header-icon-group button,
.tone-header-icon-group a {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}

.tone-header-icon-group button.editBtn,
.tone-header-icon-group a {
    color: #3D73FF;
    background: rgba(61, 115, 255, 0.05);
}

.tone-header-icon-group button.delBtn {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.tone-header-icon-group button:hover,
.tone-header-icon-group a:hover {
    transform: scale(1.1);
}

/* Tone Content */
.tone-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* About Section Specifics */
.about-ai-tone .tone-content pre {
    white-space: pre-wrap;
    /* Wrap text */
    font-family: 'Inter', sans-serif;
    /* Use main font */
    font-size: 14px;
    color: #4a5568;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    margin: 0;
    line-height: 1.8;
}

/* =========================================
   MODAL POLISH (Create, Edit, Delete)
   ========================================= */

/* Modal Container */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    /* Deep float shadow */
    overflow: hidden;
}

/* Modal Header */
.modal-header {
    border-bottom: 1px dashed #e2e8f0;
    padding: 20px 25px;
    background: #ffffff;
}

.modal-title {
    font-weight: 700;
    font-size: 18px;
    color: #1a202c;
}

.btn-close {
    background-size: 0.8rem;
    opacity: 0.4;
    transition: 0.2s;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 25px;
    background: #ffffff;
}

/* Inputs */
.modal-body .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-body .form-control,
.modal-body .form-select {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.2s;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    background: #fff;
    border-color: #3D73FF;
    box-shadow: 0 0 0 4px rgba(61, 115, 255, 0.1);
}

/* Modal Footer */
.modal-footer {
    border-top: none;
    padding: 20px 25px;
    background: #f8fafc;
    gap: 10px;
}

/* Buttons */
.modal-content .btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: all 0.2s;
}

.modal-content .btn-success {
    background: linear-gradient(135deg, #00C853 0%, #009624 100%);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    color: #fff;
}

.modal-content .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 200, 83, 0.4);
    color: #fff;
}

.modal-content .btn-danger {
    background: linear-gradient(135deg, #FF5252 0%, #d50000 100%);
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
    color: #fff;
}

.modal-content .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 82, 82, 0.4);
    color: #fff;
}

.modal-content .btn-secondary,
.modal-content .btn[data-bs-dismiss="modal"] {
    background: #e2e8f0;
    color: #4a5568;
}

.modal-content .btn-secondary:hover,

/* =========================================
   PROFILE PAGE POLISH
   ========================================= */

/* Profile Container */
.profile-info-area {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
}

/* Header */
.profile-info-area h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1a202c;
    border-bottom: 1px dashed #e2e8f0 !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-info-area h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #3D73FF;
    border-radius: 4px;
}

/* Form Styles */
.profile-info-area label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.profile-info-area input[type="text"],
.profile-info-area input[type="email"],
.profile-info-area textarea,
.profile-info-area select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    /* Smooth corners */
    padding: 14px 18px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.2s;
    margin-bottom: 20px;
    display: block;
    font-weight: 400;
}

.profile-info-area input:focus,
.profile-info-area textarea:focus,
.profile-info-area select:focus {
    background: #fff;
    border-color: #3D73FF;
    box-shadow: 0 0 0 4px rgba(61, 115, 255, 0.1);
    outline: none;
}


/* =========================================
   PROFILE DROPDOWN POLISH
   ========================================= */

.user-profile-pop {
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0;
    /* Reset padding for structured layout */
    border: 1px solid #edf2f7;
    position: absolute;
    top: 70px;
    right: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: top right;
    z-index: 1000;
    overflow: hidden;
    /* Clip children */
    text-align: left;
    /* Reset alignment */
}

.user-profile-pop.show {
    display: block;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Section */
.pop-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #edf2f7;
    text-align: center;
}

.pop-user-email {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
    word-break: break-all;
}

/* Status Badge Styles from Partial */
.pop-user-status .badge {
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
}

/* Menu List */
.pop-menu {
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.pop-menu li {
    display: block;
}

.pop-menu li.border-top {
    border-top: 1px solid #f1f5f9;
    margin-top: 5px;
    padding-top: 5px;
}

.pop-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
}

.pop-menu li a:hover {
    background: #f8fafc;
    color: #3D73FF;
    padding-left: 24px;
    /* Subtle slide effect */
}

.pop-menu li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #a0aec0;
    transition: 0.2s;
}

.pop-menu li a:hover i {
    color: #3D73FF;
}

/* Specific Link Styles */
.pop-upgrade {
    color: #3D73FF !important;
    font-weight: 600 !important;
}

.pop-upgrade i {
    color: #3D73FF !important;
}

/* Logout */
.pop-logout {
    color: #e53e3e !important;
}

.pop-logout:hover {
    background: #fff5f5 !important;
    color: #c53030 !important;
}

.pop-logout i {
    color: #fc8181 !important;
}

.pop-logout:hover i {
    color: #c53030 !important;
}

/* "Write with AI" Link */
#openModal {
    color: #3D73FF;
    font-weight: 600;
    font-size: 13px;
    background: rgba(61, 115, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -10px;
    /* Pull closer to textarea */
    margin-bottom: 20px;
    transition: 0.2s;
}

#openModal:hover {
    background: rgba(61, 115, 255, 0.2);
    transform: translateY(-1px);
}

/* Buttons Group */
.profile-btn-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.profile-btn-group button[type="submit"] {
    background: linear-gradient(135deg, #3D73FF 0%, #2b63f3 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(61, 115, 255, 0.25);
    transition: all 0.3s;
    cursor: pointer;
}

.profile-btn-group button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 115, 255, 0.35);
}

.profile-btn-group a.bg-secondary {
    background: #edf2f7 !important;
    /* Force nice gray */
    color: #4a5568 !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s;
}

.profile-btn-group a.bg-secondary:hover {
    background: #e2e8f0 !important;
    color: #2d3748 !important;
    transform: translateY(-2px);
}

/* =========================================
   QUILL EDITOR POLISH
   ========================================= */
.ql-editor {
    padding: 20px !important;
    font-size: 15px;
    line-height: 1.6;
    min-height: 400px;
    color: #4a5568;
}

.ql-container.ql-snow {
    border: none !important;
    font-family: inherit;
}

/* .ql-editor p {
    margin-bottom: 0;
} */

/* =========================================
   LINKEDIN EXTENSION NOTICE
   ========================================= */
.sidebar-extension .extension-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-extension .extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

.sidebar-extension .extension-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #805ad5);
}

.sidebar-extension .extension-card.whatsapp-card::before {
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.sidebar-extension .extension-card.whatsapp-card:hover {
    border-color: #25D366;
}

.header-extension-btn .btn {
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.header-extension-btn .btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    color: #2b6cb0 !important;
}

.header-extension-btn i {
    color: #3b82f6;
}

/* Collapsed Sidebar Styles for Extensions */
.sidebar-area.hide .sidebar-extension .extension-card h6,
.sidebar-area.hide .sidebar-extension .extension-card p,
.sidebar-area.hide .sidebar-extension .extension-card .btn {
    display: none !important;
}

.sidebar-area.hide .sidebar-extension {
    padding: 0 !important;
    margin-top: 10px !important;
}

.sidebar-area.hide .sidebar-extension .extension-card {
    padding: 8px !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    text-align: center;
}

.sidebar-area.hide .sidebar-extension .extension-card .mb-2 {
    margin-bottom: 0 !important;
}

.sidebar-area.hide .sidebar-extension .extension-card:hover {
    transform: none !important;
    background: #f7f9fc !important;

    border-radius: 8px;
}

/* =========================================
   GlOBAL EDITOR SPACING FIX
   ========================================= */
.ql-editor {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.ql-editor p {
    margin-bottom: 0.8rem;
}

.ql-editor h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}


/* Sidebar Extension Cards */
.sidebar-extension .extension-card {
    border: 1px solid #f1f5f9;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sidebar-extension .extension-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Gradient Top Borders */
.sidebar-extension .extension-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

/* LinkedIn Card Gradient */
.sidebar-extension .extension-card:first-child::before {
    background: linear-gradient(90deg, #0077b5, #00a0dc);
}

/* WhatsApp/Support Card Gradient */
.sidebar-extension .whatsapp-card::before {
    background: linear-gradient(90deg, #25D366, #128C7E) !important;
}


/* Typography */
.sidebar-extension .extension-card h6 {
    font-weight: 700;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #1e293b;
}

.sidebar-extension .extension-card p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Buttons */
.sidebar-extension .extension-card .btn {
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.sidebar-extension .extension-card .btn-primary {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.sidebar-extension .extension-card .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.sidebar-extension .extension-card .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}



.ql-editor p:empty,
.ql-editor p:has(br:only-child) {
    display: none;
}

/* =========================================
   SIDEBAR POLISH (MODERN & CLEAN)
   ========================================= */

/* Sidebar Container */
.sidebar-area {
    box-shadow: none;
    border-right: 1px solid #edf2f7;
    background: #ffffff;
    z-index: 100;
}

.sidebar-logo {
    border-bottom: 1px dashed #edf2f7;
    padding: 10px 25px;
}

/* Menu Items Cleanup */
.sidebar-content ul li a {
    background: transparent !important;
    color: #64748b !important;
    /* Slate 500 */
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease-in-out;
}

.sidebar-content ul li a img {
    opacity: 0.6;
    transition: 0.2s;
    width: 20px;
}

/* Hover State */
.sidebar-content ul li a:hover {
    background: #f1f5f9 !important;
    /* Slate 100 */
    color: #3D73FF !important;
    padding-left: 22px;
    /* Slight slide */
}

.sidebar-content ul li a:hover img {
    opacity: 1;
    filter: none !important;
    /* Don't invert on hover, just keep original */
}

/* Active State */
.sidebar-content ul li a.active {
    background: linear-gradient(135deg, #3D73FF 0%, #2b63f3 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(61, 115, 255, 0.25);
}

.sidebar-content ul li a.active img {
    opacity: 1;
    filter: brightness(0) invert(1) !important;
    /* Make white */
}

/* Credit Area Polish */
.credit-area {
    background: #f8fafc;
    /* Very light gray */
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    margin-bottom: 25px;
    text-align: center;
}

.credit-area span {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    padding: 8px 15px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #1e293b;
}

.credit-area a {
    font-size: 11px;
    padding: 4px 10px;
    background: #3D73FF;
    margin-left: auto;
}

.credit-area p {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}


/* Collapsed Sidebar Fixes */
.sidebar-area.hide .sidebar-content ul li a {
    justify-content: center !important;
    padding: 10px !important;
}

.sidebar-area.hide .sidebar-content ul li a img {
    width: 25px !important;
    margin: 0 !important;
    opacity: 0.8;
    filter: none;
}


/* Collapsed Hover */
.sidebar-area.hide .sidebar-content ul li a:hover {
    background: rgba(61, 115, 255, 0.1) !important;
}

/* Collapsed Active - Restoring Background */
.sidebar-area.hide .sidebar-content ul li a.active {
    background: linear-gradient(135deg, #3D73FF 0%, #2b63f3 100%) !important;
    box-shadow: 0 4px 10px rgba(61, 115, 255, 0.3);
}

/* Icon Colors */
.sidebar-area.hide .sidebar-content ul li a:hover img {
    opacity: 1;
    filter: none;
}

.sidebar-area.hide .sidebar-content ul li a.active img {
    opacity: 1;
    filter: brightness(0) invert(1) !important;
}

/* Top Area Polish */
.tools-header {
    box-shadow: none !important;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    /* Optional: very subtle float */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

/* =========================================
   TOOLS PAGE REDESIGN
   ========================================= */

.ai-tools-container>h2 {
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 10px;
}

/* Base Card Style */
.single-ai-tool {
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.single-ai-tool:hover {
    transform: translateY(-5px);
}

/* Typography & Button */
.single-ai-tool h2 {
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    margin-bottom: 10px !important;
    font-size: 22px !important;
}

.single-ai-tool p {
    opacity: 0.95;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    font-weight: 400;
}

.single-ai-tool a {
    border-radius: 50px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff !important;
    color: #1e293b !important;
    text-transform: uppercase;
    width: fit-content;
    margin-top: auto;
}

.single-ai-tool a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.single-ai-tool a::after {
    content: "\f061";
    /* FontAwesome Arrow Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s;
}

.single-ai-tool a:hover::after {
    transform: translateX(4px);
}

/* Variants - Gradients & Shadows */

/* LinkedIn - Professional Blue */
.linkedin-tool {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%) !important;
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.25) !important;
}

.linkedin-tool:hover {
    box-shadow: 0 15px 40px rgba(0, 119, 181, 0.35) !important;
}

/* Quora - Vibrant Red/Orange */
.quora-tool {
    background: linear-gradient(135deg, #b92b27 0%, #d9451d 100%) !important;
    box-shadow: 0 10px 30px rgba(185, 43, 39, 0.25) !important;
}

.quora-tool:hover {
    box-shadow: 0 15px 40px rgba(185, 43, 39, 0.35) !important;
}

/* Twitter - Modern Black/Dark */
.twitter-tool {
    background: linear-gradient(135deg, #14171a 0%, #333333 100%) !important;
    box-shadow: 0 10px 30px rgba(20, 23, 26, 0.25) !important;
}

.twitter-tool:hover {
    box-shadow: 0 15px 40px rgba(20, 23, 26, 0.35) !important;
}

/* Youtube - Brand Red */
.youtube-tool {
    background: linear-gradient(135deg, #FF0000 0%, #ff4b4b 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.25) !important;
}

.youtube-tool:hover {
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.35) !important;
}