/* Entry */
.entry-content-wrap {
    padding: 0 !important;
}

/* General Styles */
.tw-portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Forms */
.tw-registration {
    display: flex;
    gap: 2rem;
    flex-direction: column-reverse;
    min-height: 90dvh;
    padding: 0 20px 20px 2rem;
}

.tw-register-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 3%;
}

.tw-portfolio-registration-form,
.tw-portfolio-login-form {
    background: #fff;
}

.tw-portfolio-login-form {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 2rem;

}

.tw-login-form-container {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding-top: 5%;
}

.tw-login-bg {
    background-image: url("../images/loginmbg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 2rem;
    height: 200px;
    width: 100%;
    flex-grow: 1;
}

.tw-login {
    width: 390px;
}

.tw-login-header h2 {
    color: #0C1421;
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
}

.tw-login-header p {
    color: #313957;
    font-size: 16px;
}

@media screen and (min-width: 1000px) {
    .tw-portfolio-login-form {
        flex-direction: row;
        padding: 2rem;
        min-height: 90dvh;
    }

    .tw-registration {
        flex-direction: row;
    }

    .tw-register-container {
        width: 50%;
    }

    .tw-login-form-container {
        width: 50%;
    }

    .tw-login-bg {
        background-image: url("../images/logindbg.png");
        width: 50%;
        min-height: 90dvh;
    }
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #0C1421;
    font-weight: 400;
}

.form-group-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-check input {
    width: auto;
}

.form-group .register-input,
.tw-password-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D4D7E3 !important;
    border-radius: 8px !important;
    background-color: #F7FBFF !important;
}

.tw-forgot-password-container {
    display: flex;
    justify-content: end;
    padding-bottom: 10px;
}

.tw-forgot-password-container a,
.form-footer a {
    color: #1E4AE9;
}

.tw-forgot-password-container a:hover,
.form-footer a:hover {
    color: #1E4AE9;
    text-decoration: underline;
}

.form-footer {
    margin-top: 10px;
    font-size: 18px;
}

.form-footer p {
    color: #313957;
    font-size: 18px;
}

.social-login {
    margin: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.social-login button {
    margin: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.google-login {
    background: #DB4437;
    color: white;
}

.facebook-login {
    background: #4267B2;
    color: white;
}

.form-submit {
    display: flex;
}

.submit-button {
    width: 100%;
    background: #6D33FA;
    color: white;
    flex-grow: 1;
    font-size: 20px;
    padding: 0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.submit-button button {
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-button:hover {
    background: #5F15D4;
    box-shadow: 0 0 -7px rgba(0, 0, 0, 0.1);
    transition: all .3s linear;
}



/* Portfolio Dashboard */
.tw-portfolio-dashboard {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;

    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

.dashboard-actions {
    display: flex;
    gap: 1em;
}

.logout-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #c82333;
    color: #fff;
    text-decoration: none;
}

.logout-button::before {
    content: '↪';
    margin-right: 8px;
    font-size: 1.2em;
}

.premium-badge {
    background: #ffd700;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.nav-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    margin-bottom: 20px;
}

.nav-tabs li {
    margin-right: 5px;
}

.nav-tabs a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.nav-tabs li.active a {
    background: #fff;
    color: #333;
    border-color: #ddd;
    margin-bottom: -1px;
    padding-bottom: 11px;
}

/* .tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
} */

/* Portfolio Posts */
.portfolio-post {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    margin-bottom: 15px;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.portfolio-post h2 {
    margin: 0 0 10px;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 5px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.read-more:hover {
    background: #005177;
    color: white;
}

/* Portfolio Skills */
.portfolio-skills ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-skills li {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

/* Upgrade Box */
.upgrade-box {
    background: #f8f9fa;
    border: 2px solid #ffd700;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.premium-features>li {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}



.upgrade-button {
    background: #ffd700;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.upgrade-button:hover {
    background: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .nav-tabs li {
        margin-bottom: 5px;
    }

    .nav-tabs a {
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .nav-tabs li.active a {
        padding-bottom: 10px;
    }

    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .premium-badge {
        margin-top: 10px;
    }
}

/* Payment Page Styles */
.tw-portfolio-payment-page {
    background-color: #F6F6F6;
    padding-bottom: 4rem;

}

.tw-premium-header {
    background: radial-gradient(circle, #5e04ef 0%, #5F15D4 100%);
    padding: 10rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tw-premium-header h1 {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 0 !important;
}

.tw-premium-header p {
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.premium-features-header {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    padding: 8rem 0;
}

.premium-features-header ul>li {
    list-style: none;
    margin-top: 10px;
    font-size: 16px;
    color: #F6F6F6;
}

.color>li {
    color: #0C1421 !important;
}

.premium-bold {
    font-weight: 600;
}

.premium-left {
    max-width: 405px;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.premium-right {
    max-width: 800px;
    flex-grow: 1;
    background-color: #5e04ef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    color: #FFF;
}

.premium-right h2 {
    color: #FFF;
    margin: 0 !important;
}

.premium-right p {
    color: #f6f6F6;
    font-size: 14px;
}

.premium-recommended {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.premium-recommended span {
    background-color: #361C6C;
    padding: 8px 16px;
    border-radius: 10px;
    text-transform: uppercase;
}

.premium-status {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 30px;
}

.premium-status.active {
    background: #5e04ef;
    color: white;
}

.pricing-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 40px;
}

.price {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}

.price .currency {
    font-size: 24px;
    vertical-align: super;
}

.price .period {
    font-size: 16px;
    color: #666;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.features-list li:last-child {
    border-bottom: none;
}

.payment-button {
    background-color: #FFF;
    color: #5e04ef;
    padding: 10px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.payment-button:hover {
    background: transparent;
    border: 1px solid #FFF;
}

.payment-processing {
    text-align: center;
    padding: 40px;
}

.processing-animation {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.comparison-table {
    max-width: 1240px;
    margin: 40px auto;
}

.comparison-table h3 {
    font-size: 40px;
    color: #333;
    margin-bottom: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
}

.comparison-table th {
    background: #f8f9fa;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(odd) {
    background: #fff;
    border-radius: 12px;
}

.comparison-table tr:nth-child(even) {
    background: #f9f9f9;
    border-radius: 12px;
}

.tw-portfolio-forgot-password-form {
    max-width: 400px;
    height: 90dvh;
    margin: 30px auto;
    padding: 4rem 20px;
    background: #fff;
    border-radius: 4px;
}

.tw-portfolio-forgot-password-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.tw-portfolio-forgot-password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tw-portfolio-forgot-password-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tw-portfolio-forgot-password-form .submit-button {
    width: 100%;
    padding: 10px;
    background: #5F15D4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.tw-portfolio-forgot-password-form .submit-button:hover {
    background: #6D33FA;
    box-shadow: 0 0 -7px rgba(0, 0, 0, 0.1);
    transition: all .3s linear;
}

.tw-portfolio-forgot-password-form .form-footer {
    margin-top: 20px;
    text-align: center;
}

.success-message {
    color: #28a745;
    text-align: center;
    padding: 20px;
    font-size: 16px;
}

.forgot-password-success {
    display: flex;
    justify-content: center;
}

.forgot-password-success button {
    background-color: #5e0ae6;
    color: #fff;
    padding: 8px 24px;
    border-radius: 12px
}

.forgot-password-success a {
    color: #fff;
    text-decoration: none;
}

.forgot-password-success button:hover {
    background-color: #5F15D4;
}

.forgot-password-success a:hover {
    color: #fff;
    text-decoration: underline;
}

.tw-portfolio-reset-password-form {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.tw-portfolio-reset-password-form .form-group {
    margin-bottom: 20px;
}

.tw-portfolio-reset-password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tw-portfolio-reset-password-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.password-strength-meter {
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
}

.password-strength-meter.very-weak {
    color: #dc3545;
}

.password-strength-meter.weak {
    color: #ffc107;
}

.password-strength-meter.medium {
    color: #fd7e14;
}

.password-strength-meter.strong {
    color: #28a745;
}

.password-strength-meter.very-strong {
    color: #20c997;
}

.password-match-message {
    margin-top: 5px;
    font-size: 14px;
}

.password-match-message.success {
    color: #28a745;
}

.password-match-message.error {
    color: #dc3545;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    background: #fff;
    border-radius: 4px;
    margin: 30px auto;
    max-width: 400px;
}

/* Analytics Styles */
.analytics-filters {
    margin-bottom: 2em;
}

.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 2em;
}

.analytics-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.analytics-card h4 {
    margin: 0 0 10px;
    color: #666;
}

.analytics-card .count,
.analytics-card .rate {
    font-size: 2em;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 1em;
}

.analytics-details {
    margin-top: 2em;
}

.analytics-overview.loading {
    opacity: 0.5;
    pointer-events: none;
}

#top-posts-table {
    margin-top: 1em;
    width: 100%;
    border-collapse: collapse;
}

#top-posts-table th,
#top-posts-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.form-message {
    margin-bottom: 1em;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Add these styles to your existing CSS */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.form-hint {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
}

.form-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-group input:invalid {
    border-color: #dc3545;
}

.form-group input:valid {
    border-color: #28a745;
}

.tw-password-input {
    display: flex;
    padding: 4px 12px;
    align-items: center;
}

.tw-password {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.tw-password:focus {
    background-color: transparent !important;
}

.password-icon {
    display: none;
}

.tw-open {
    display: block;
}

/* Add to existing CSS */
.tw-resources-container {
    margin-top: 40px;
}

.tw-resources-container article {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 16px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.portfolio-link {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.portfolio-link .button {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.portfolio-link .button-primary {
    background: #0073aa;
    color: white;
    border: none;
}

.portfolio-link .button-primary:hover {
    background: #005177;
}

.portfolio-link .button:not(.button-primary) {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.portfolio-link .button:not(.button-primary):hover {
    background: #f1f1f1;
}

/* Portfolio Content Styles */
.portfolio-intro {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    margin-bottom: 40px;
}

.portfolio-intro h1 {
    margin-bottom: 20px;
    color: #333;
    font-size: 2.5em;
}

.portfolio-tagline {
    font-size: 1.2em;
    color: #666;
}

.about-section,
.expertise-section,
.portfolio-section,
.niches-section,
.contact-section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.expertise-grid,
.niches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.expertise-card,
.niche-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expertise-card h3,
.niche-card h3 {
    color: #0073aa;
    margin-bottom: 15px;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-section {
    text-align: center;
    background: #f8f9fa;
    padding: 60px 20px;
    border-radius: 8px;
}

.contact-buttons {
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-primary {
    background-color: #0073aa;
    color: white;
    border: none;
}

.button-primary:hover {
    background-color: #005177;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-intro h1 {
        font-size: 2em;
    }

    .expertise-grid,
    .niches-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card,
    .niche-card {
        margin-bottom: 20px;
    }

    .premium-features-header {
        flex-direction: column;
        padding: 4rem 20px;
    }
}

/* Analytics Section */
.analytics-section {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.analytics-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.analytics-card:hover {
    transform: translateY(-2px);
}

.card-icon {
    margin-right: 15px;
}

.card-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #2271b1;
}

.card-content h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #666;
}

.card-value {
    font-size: 24px;
    font-weight: bold;
    color: #1d2327;
}

.card-period {
    font-size: 12px;
    color: #666;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.analytics-table th,
.analytics-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.analytics-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.analytics-table tr:hover {
    background: #f8f9fa;
}

.analytics-table a {
    color: #2271b1;
    text-decoration: none;
}

.analytics-table a:hover {
    text-decoration: underline;
}

.analytics-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (min-width: 900px) {
    .analytics-flex {
        flex-direction: row;
        padding: 0 8rem;
        margin-top: 24px;
    }
}

.tw-container {
    background-color: #f5f8fe;
    min-height: 100dvh;
}

.tw-banner {
    padding: 20px;
    border-radius: 10px;
}

.tw-banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tw-banner-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #231d4f;
    margin: 0;
}

.tw-banner-text p {
    font-size: 0.85rem;
    font-weight: 400;
    color: #231d4f;
}

.black-text {
    color: #231d4f;
}

.tw-sidebar-container {
    display: none;
    width: 356px;
    background-color: #FCFDFD;
    padding: 20px 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Light shadow */
}

.tw-profile-sidebar {
    background-color: #FCFDFD;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tw-profile-sidebar article {
    display: flex;
    gap: 12px;
}

.icon-container {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-dashboard {
    background-color: #FFF;
}

.icon-post {
    background-color: #F56565;
}

.icon-analytics {
    background-color: #38B2AC;
}

.icon-logout {
    background-color: #FD1F9B;
}

.icon-post>i,
.icon-analytics>i,
.icon-logout i {
    color: #FFF;
}

.icon-color {
    color: #666666
}

.icon-academy {
    background-color: #237eda
}

.icon-job {
    background-color: #5edaf6;
}

.icon-community {
    background-color: #B794F4;
}

.icon-job i,
.icon-community i,
.icon-academy i {
    color: #FFF;
}

.tw-new-btn {
    background-color: #00ACFF;
    padding: 2px 16px;
    border-radius: 16px;
    font-size: 12px;
    color: #FFF;
}

.tw-premium-banner {
    width: 290px;
    height: 168px;
    margin-top: 80px;
    background: url("../images/premium-bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
}

.tw-premium-banner a {
    background: linear-gradient(to top, #00ACFF, #BD00FFBF 75%);
    ;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    color: white;
}

.tw-user-banner {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 40px;
    justify-content: space-between;
    /* align-items: start; */
}

.tw-profile-container,
.tw-bio-container {
    display: flex;
    gap: 20px;
}

.tw-bio-container {
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
}

.tw-add-post-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tw-add-post-container a {
    color: #FFF;
    background-color: #5e0ae6;
    padding: 4px 12px;
    border-radius: 12px;
}

.tw-add-post-container a:hover {
    color: #FFF !important;
}

.tw-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 12px;

}

.tw-user-categories {
    padding: 6rem;
}

.tw-single-category {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 300px;
    background-color: #5e0ae6;
    padding: 8px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.tw-single-category div {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #FFF;
}

.category-icon {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    border-radius: 50%;
    color: #5e0ae6;
}

.category-icon i {
    color: #5e0ae6;
    font-size: 18px;
}

.tw-user-socials-container {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (min-width: 1000px) {
    .tw-bio-container {
        flex-direction: row;
    }

    .tw-user-banner {
        flex-direction: row;
        align-items: flex-start;
    }

    .tw-sidebar-container {
        display: block;
    }

    .tw-btn-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 8rem;
        width: 30%;

    }
}

.tw-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tw-edit-profile-btn {
    background-color: #5F15D4;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 16px;
    color: #FFF;
    white-space: nowrap;
}

.tw-edit-profile-btn:hover {
    background-color: #5e0ae6;
}

.tw-public-view-btn {
    border: 1px solid #5708a7;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 16px;
    white-space: nowrap;
    background-color: transparent;
}

.tw-public-view-btn:hover {
    background-color: #5708a7;
    color: #FFF !important;
}

.tw-public-view-btn a {
    color: #5e0ae6;
    text-decoration: none;
}

.tw-public-view-btn a:hover {
    color: #FFF;
}

.tw-upload-icon {
    background-color: #5F15D4;
    padding: 6px 8px;
    color: #FFF;
    border-radius: 8px;
    font-size: 14px;
}

.tw-upload-text {
    color: #5F15D4;
    font-size: 10px;
    margin-left: 4px;
}

#twp-premium-openModal {
    cursor: pointer;
}

.tw-user-info {
    width: 100%;
    flex-direction: column;
    gap: 4px;
}

.tw-user-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #181818;
    margin-bottom: 12px;
}

.open-upgrade-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.open-upgrade-desktop {
    display: none;
}

.tw-sub-text {
    color: #ED8F03;
    border: 1px solid #ED8F03;
    border-radius: 16px;
    font-size: 13px;
    display: inline-block;
    padding: 2px 8px;
    margin-bottom: 12px;
}

.tw-profile-bio {
    color: #181818;
    font-size: 14px;
    max-width: 500px;
}

.tw-tab,
.tw-resource,
.tw-tab-logout {
    cursor: pointer;
    padding: 8px 16px;
    align-items: center;

}

.tw-tab-logout {
    position: relative;
}

.tw-tab.active,
.tw-tab:hover,
.tw-resource:hover,
.tw-tab-logout:hover {
    background-color: #EDF2F7;
    border-radius: 20px;
}

.tw-tab-content {
    display: none;
    width: 100%;
    padding: 2rem 16px;
}

.tw-tab-content.active {
    display: block;
    overflow-x: hidden;
}

/* share.css */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.share-modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 400px;
    margin: 100px auto;
    text-align: center;
    position: relative;
}

.share-link {
    display: block;
    margin: 10px 0;
    color: #0073b1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: #005582;
}

.close-btn {
    margin-top: 15px;
    background: #444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.close-btn:hover {
    background: #222;
}

.tw-edit-premium-profile-btn {
    padding: 10px 20px;
    font-weight: bold;
    background-color: #0073b1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tw-edit-premium-profile-btn:hover {
    background-color: #005582;
}


.tw-onboarding-container {
    margin-top: 8px;
}

.tw-onboarding-items,
.tw-onboarding-item,
.tw-onboarding-item>article {
    display: flex;
    align-items: center;
}

.tw-onboarding-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.tw-onboarding-items>div {
    width: 100%;
}

@media screen and (min-width: 1000px) {
    .tw-onboarding-items {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tw-onboarding-items>div {
        width: 300px;
        display: inline-flex;
    }

    .tw-tab-content {
        padding: 2rem 4rem;
    }

}

.tw-onboarding-item {
    background-color: #FFF;
    padding: 8px;
    border-radius: 8px;
    flex-grow: 1;
    justify-content: space-between;
}

.tw-onboarding-item>p {
    color: #272B31;
    font-weight: 500;
}

.tw-onboarding-item>article {
    flex-grow: 1;
    gap: 10px;
}

.tw-onboarding-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tw-heart-icon {
    background-color: #FFCECE;
}

.tw-heart-icon>i {
    color: #E24444;
    font-size: 18px;
}

.tw-pen-icon {
    background-color: #F0DEFF;
}

.tw-pen-icon1 {
    background-color: #0fb5d2;
}

.tw-pen-icon1 i {
    color: #F6F6F6;
}

.tw-pen-icon2 {
    background-color: #f29407;
}

.tw-pen-icon2 i {
    color: #F6F6F6;
}

.tw-pen-icon>i {
    color: #A86CE4;
    font-size: 18px;
}

.tw-experience-icon {
    background-color: #DEFFE5;
}

.tw-experience-icon>i {
    color: #50D86A;
    font-size: 18px;
}

.profile-tabs {
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    margin-top: 30px;
    border: 1px solid #E7E7E7;
    border-radius: 12px;
    padding: 0 20px;
    background-color: #FFF;
    overflow-x: auto;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tabs>div {
    white-space: nowrap;
}

@media screen and (min-width: 1000px) {
    .profile-tabs>width {
        width: fit-content;
    }
}

.exp-tab,
.bio-tab,
.cat-tab,
.theme-tab {
    padding: 14px 20px;

}

.exp-tab.active,
.bio-tab.active,
.cat-tab.active,
.theme-tab.active {
    font-weight: bold;
    border-bottom: 2px solid #5F15D4;
}

.twp-tab-content {
    display: none;
    background-color: #FFF;
    border-radius: 12px;
    margin-top: 30px;
    min-height: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Light shadow */
}

.twp-tab-content.active {
    display: block;
    position: relative;
}

.twp-tab-content-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #D9D9D9;
    background-color: #f6f6F6;
}

.twp-openExpModal,
.twp-openBioModal {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #181818;
    background-color: transparent;
}

.tw-banner-main {
    display: flex;
    flex-direction: column;
    background-color: #F6F6F6;
    width: 100dvw;
    min-height: calc(100dvh - 80px);
}

.tw-mobile-nav {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding-top: 20px;
}

.tw-mobile-nav::-webkit-scrollbar {
    display: none;
}

.tw-mobile-nav article {
    display: flex;
    gap: 4px;
    white-space: nowrap;

}

@media screen and (min-width: 900px) {
    .tw-banner-main {
        flex-direction: row;
    }

    .tw-mobile-nav {
        display: none;
    }

    .tw-user-info {
        width: fit-content;
    }

    .open-upgrade-mobile {
        display: none;
    }

    .open-upgrade-desktop {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.tw-profile-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tw-profile-user {
    flex-grow: 1;
    display: flex;
    gap: 20px;
}

.tw-user-image {
    border-radius: 50%;
    border: 4px solid #cbbfbf;
}

.tw-experience-container {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tw-experience {
    width: 280px;
    background-color: #E9EBFA;
    display: flex;
    padding: 1rem;
    border-radius: 12px;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
}

.tw-experience-private {
    width: 300px;
}

.tw-experience .delete {
    position: absolute;
    color: #000;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    padding: 0 8px;
    border-radius: 4px;
    right: 10px;
    cursor: pointer;
}

.delete:hover {
    background-color: #5e04ef;
    transition: all 0.3s linear;
    color: #FFF;
}

.delete-form {
    background-color: #5e04ef;
    color: #FFF !important;
}

.delete-form:hover {
    background-color: #5708a7;
    transition: all 0.3s linear;
}

@media screen and (min-width: 900px) {
    .tw-experience-container {
        flex-direction: row;
    }
}

.tw-office-image {
    border-radius: 50%;
    font-size: 32px;
}

.tw-experience-items {
    display: flex;
    flex-direction: column;
}

.tw-experience-items h2 {
    font-size: 18px;
    color: #5e0ae6;
    font-weight: 500;
    margin-bottom: 4px !important;
}

.tw-experience-items p {
    margin-bottom: 4px !important;
}

.tw-portfolio-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tw-portfolio-socials a {
    background-color: #5e0ae6;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tw-portfolio-socials a:hover {
    transform: scale(1.1);
    transition: all 0.3 linear;
}

.tw-portfolio-socials i {
    color: #FFF;
}

.expertise {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-container h2 {
    font-size: 24px;
    color: #181818;
    font-weight: 500;
    margin-bottom: 4px !important;
}

.tw-user-expertise-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tw-user-expertise-list span {
    font-size: 14px;
    border: 1px solid #5F15D4;
    color: #5F15D4;
    padding: 4px 12px;
    border-radius: 12px;
}

.tw-update-image-modal {
    border-radius: 50%;
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
}

.tw-update-cover-modal {
    border-radius: 50%;
    z-index: 1000;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
}

.tw-free-user-image {
    object-fit: cover;
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.tw-readmore-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.twp-readmore-btn {
    background-color: #5F15D4;
    padding: 4px 8px;
    border-radius: 12px;
    color: #FFF;
    font-size: 12px;
}

.twp-edit-post-btn {
    background-color: #DB4437;
    padding: 4px 8px;
    border-radius: 12px;
    color: #FFF;
    font-size: 12px;
}

.twp-edit-post-btn:hover,
.twp-readmore-btn:hover {
    color: #FFF;
}

.tw-spinner {
    width: 20px;
    display: none;
    height: 20px;
    border: 4px solid rgba(154, 151, 151, 0.8);
    /* light gray */
    border-top: 4px solid #FFF;
    /* blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.show {
    display: block;
}

.add-niches {
    background-color: #5708a7;
    padding: 4px 16px;
    font-size: 18px;
    color: #FFF;
    border-radius: 12px;
}

.add-niches:hover {
    background-color: #5e0ae6;
    color: #FFF;
    box-shadow: 0 0 -7px rgba(0, 0, 0, 0.1);
    transition: all .3s linear;
}

.tw-profile-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tw-user-byline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tw-user-bylines {
    color: #5F15D4;
}

.tw-user-bylines:hover {
    text-decoration: underline;
    color: #5e0ae6;
    transition: all .3s linear;
}

.payment-btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-selection {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
}

.plan-selection button {
    background-color: #ea7121;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #FFF;
}

.plan-selection button:hover {
    background-color: #d24424;
    box-shadow: 0 0 -7px rgba(0, 0, 0, 0.1);
    transition: all .3s linear;
}

.start-free-trial-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #FFF;
    color: #0C1421;
    padding: 10px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.start-free-trial-container a {
    background-color: #dc3545;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    color: #FFF;
}

.start-free-trial-container a:hover {
    color: #FFF;
    text-decoration: underline;
}

@media screen and (min-width: 900px) {
    .start-free-trial-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .payment-btn-container {
        flex-direction: row;
        gap: 10px;
    }

    .tw-user-expertise-list {
        flex-direction: row;
    }
}

.tw-telegram {
    color: inherit;
}

.tw-telegram:hover {
    text-decoration: none;
}

.bg-success {
    background-color: #5e0ae6;
}

.job-filter-container {
    max-width: 960px;
    margin: 0 auto;
    background-color: #FFF;
    padding: 4rem 8rem;
    border-radius: 16px;
}

.job-filter-container form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-search {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #CCDCE1;
    border-radius: 32px;
}

.job-search input {
    flex-grow: 1;
    border: none !important;
}

.job-filter-container form select {
    display: flex;
    align-items: center;
    padding: 8px 32px;
    border: 1px solid #CCDCE1;
    border-radius: 32px;
}

#submit-job-filter {
    background-color: #5e0ae6;
    color: #FFF;
    padding: 12px 32px;
    border-radius: 32px;
    font-size: 16px;
}

/* Grid layout */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

/* Job card styling */
.job-card {
    background-color: #fff;
    border: 2px solid #EDEDED;
    border-radius: 12px;
    padding: 24px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Header */
.job-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.job-header>img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.job-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1;
}

.job-title {
    font-size: 12px;
    margin: 0 !important;
    color: #1a202c;
    line-height: normal;
}

.company-name {
    margin: 0 !important;
    color: #A5A5A5;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 10px;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-type,
.location {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
}

/* Location and footer */
.location {
    color: #718096;
    margin: 0 !important;
    background-color: #D9FFED;
    color: #00A154;
}

.job-type {
    color: #6D33FA;
    background-color: #eff5ff;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.posted-date {
    font-size: 12px;
    color: #938F96;
}

.apply-btn {
    background-color: #3182ce;
    color: white;
    padding: 6px 14px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.apply-btn:hover {
    background-color: #2b6cb0;
}

.job-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-link {
    background-color: #5708a7;
    color: #FFF;
    padding: 4px 12px;
    border-radius: 4px;
}

.pagination-link:hover {
    color: #FFF;
    transform: scale(1.1);
    text-decoration: none;
    transition: all 0.5s linear;
}

/* Responsive tweaks */
@media (max-width: 480px) {

    .job-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.icon-post {
    background-color: #F56565;
}

.job-board {
    width: 100%;
}

.tw-job-alert {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.09);
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/tw-job.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
}

.tw-telegram {
    text-decoration: none !important;
}

@media screen and (max-width: 760px) {
    .tw-job-alert {
        height: 300px;
        background-position: top left;
    }

    .job-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .job-filter-container {
        width: 95%;
        padding: 0.5rem 1rem;
    }

    .job-filter-container form {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-search {
        width: 100%;
    }

    .job-filter-container form select {
        width: 100%;
    }
}

.card {
    border: 2px solid #FFF;
    border-radius: 16px;
    padding: 2rem;
    max-width: 360px;
    text-align: center;
    background-color: #FFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.price p {
    color: #6D33FA;
    font-weight: 500;
}

.price span {
    display: block;
    font-size: 0.95rem;
    color: #666;
}

.pay-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    background-color: #dc3545;
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.pay-link img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.pay-link:hover {
    background-color: #5224c9;
    color: #FFF;
}

#twp-pagination .page-numbers {
    display: flex;
    gap: 8px;
    list-style: none;
    justify-content: center;
    margin-top: 10px;
}

#twp-pagination .page-numbers li {
    background-color: #5F15D4;
    color: #FFF;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;

}

#twp-pagination .page-numbers li span,
#twp-pagination .page-numbers li a {
    margin: 0;
}

#twp-pagination .page-numbers li span {
    color: #FFF;
    text-decoration: underline;
}

#twp-pagination .page-numbers li a {
    color: #cfc9c9;
    text-decoration: none;
}

#twp-pagination .page-numbers li a:hover {
    color: #FFF;
}