/* Style for the login menu bar */
.swpm-login-menu-bar {
    display: flex;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    justify-content: space-around;
    align-items: center;
}

.swpm-menu-item {
    align-items: center;
    margin-right: 15px;
}

.swpm-menu-label {
    font-weight: bold;
    margin-right: 5px;
}

.swpm-menu-value {
    color: #0073aa;
}

.swpm-menu-link {
    background-color: #0073aa;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.swpm-menu-link:hover {
    background-color: #005177;
}

.menu-link {
    color: black;
}

.swpm-menu-item-subscription {
    color: red;
    font-weight: bold;
}

@media (max-width: 768px) {
    .swpm-login-menu-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .swpm-menu-item {
        margin-bottom: 10px;
    }
}

.membership-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.membership-info {
    flex: 1;
}

.membership-payment {
    flex: 0 0 300px;
    border: solid black 3px;
    padding: 20px;
    border-radius: 30px;
    margin: 15px;
    text-align: center;
    background-color: #ff006e;
}

@media (max-width: 768px) {
    .membership-container {
        flex-direction: column;
    }

    .membership-payment {
        margin: 10px 0;
    }
}

.button, input[type="submit"] {
    margin: 5px;
    padding: 10px;
    padding-left: 50px;
    padding-right: 50px;
    box-shadow: 4px 4px 6px 0px #00000061;
}

/* Responsive table wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on mobile devices */
}


/* Mobile-friendly cards styling */
.mobile-cards {
    display: none;
}

.card {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 2px 0px 10px -5px rgba(0, 0, 0, 0.5);
}

.card-body p {
    margin: 5px 0;
}

.card-body img {
    max-width: 100px;
    max-height: 100px;
}

/* Responsive rules */
@media screen and (max-width: 768px) {
    /* Hide the desktop table on small screens */
    .desktop-cards {
        display: none;
    }

    /* Show the mobile-friendly cards */
    .mobile-cards {
        display: block;
    }

    .mobile-cards small {
        font-size: 60%;
    }

    input[name="search_file_name"] {
        width: 100%;
    }

    .mobile-cards input[type="submit"] {
        width: 100%;
    }

    .mobile-cards .card-body p {
        font-size: 1rem;
    }
}

/* Account Information Styles */
.swpm-account-info {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swpm-account-info p {
    margin: 5px 0;
}

/* Subscription Card Styles */
.swpm-active-subs-card-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.swpm-subscription-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.swpm-subscription-details {
    margin-bottom: 10px;
}

.swpm-subscription-details p {
    margin: 0 0 10px;
    line-height: 1.5;
}

.swpm-attached-profile {
    font-size: 0.9em;
    color: #888;
}

.swpm-subscription-actions {
    text-align: center;
}

.swpm-subscription-actions button,
.swpm-subscription-actions a {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    box-shadow: 4px 4px 6px 0px #00000061;
}

.swpm-subscription-actions button:hover,
.swpm-subscription-actions a:hover {
    background-color: #005177;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .swpm-subscription-card {
        max-width: 100%;
    }
}

/*//LANGUAGE SWITCHER STYLES*/

#language-switcher {
    padding: 15px;
}

.custom-dropdown {
    display: inline-block;
    cursor: pointer;
}

.custom-dropdown.active .dropdown-options {
    display: block;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    margin-top: 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background-color: white;
    cursor: pointer;
}

.flag {
    width: 30px;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 5px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-option {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    color: black;
}

.dropdown-option img {
    margin-right: 10px;
}

.dropdown-option:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    .dropdown-options {
        width: 100%;
        position: relative;
        right: 0;
        top: 0;
        display: none;
    }

    .dropdown-option {
        padding: 12px;
        font-size: 16px;
        cursor: pointer;
    }

    .custom-dropdown.active .dropdown-options {
        display: block !important;
    }

    .ast-separate-container .entry-header {
        margin-bottom: 1em;
        margin-top: 50px;
    }

    header.entry-header .entry-title {
        font-size: 30px;
        font-size: 2.5rem;
    }

    h4 {
        font-size: 2rem !important;
    }

    p {
        font-size: 1.3rem;
    }

    .payment-plan h3 {
        font-size: 2.5rem;
    }

    .services li {
        font-size: 1.2rem;
    }
}

/* Your CSS code */
.custom-file-label {
    display: flex;
    padding: 10px 20px;
    background-color: var(--wp--preset--color--ast-global-color-3);
    color: var(--ast-global-color-4);
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
    border: dotted 2px var(--wp--preset--color--ast-global-color-2);
    font-size: 16px;
    flex-direction: row;
    align-content: flex-start;
    flex-wrap: wrap;
}

.custom-file-label:hover {
    background-color: #d3d3d3;
}

.upload-button {
    padding: 10px 20px;
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 4px 4px 6px 0px #00000061;
}

.upload-button .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #555;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Style for the file names display */
.file-names {
    margin-top: 10px;
    font-size: 14px;
}

/* Responsive styling */
@media (max-width: 600px) {
    .custom-file-label, .upload-button {
        width: 100%;
        box-sizing: border-box;
    }
}


.notification {
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    right: 0;
    display: inline-block;
    margin-bottom: 15px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.notification.success {
    background-color: var(--wp--preset--color--light-green-cyan);
    color: #000000;
    box-shadow: #a1a1a1 1px 5px 20px 1px;
}

.notification.error {
    background-color: var(--wp--preset--color--vivid-red);
    color: #ffffff;
    box-shadow: #a1a1a1 1px 5px 20px 1px;
}

/* Optional: Close button */
.notification .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    color: inherit;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.desktop-cards .collapse-title {
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-cards .collapse-title {
    font-size: 1.5rem;
}


/* Flexbox Grid */
.desktop-cards .flex-row {
    display: flex;
    flex-wrap: wrap;
}

.desktop-cards .flex-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.desktop-cards .flex-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.desktop-cards .flex-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
.desktop-cards .flex-col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.desktop-cards .card-header {
    border-bottom: solid 2px #d4d8e1;
    margin: 0;
    margin-bottom: 10px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-cards .flex-col-3, .desktop-cards .flex-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

}


/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}

.modal .close {
    position: fixed;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    cursor: pointer;
}

.modal textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

body.modal-open {
    overflow: hidden;
}

/* Responsive Design for Mobile */
@media (max-width: 600px) {
    .modal-content {
        width: 100%;
        padding: 15px;
    }
}

.chat-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.chat-message.question {
    background-color: var(--wp--preset--color--light-green-cyan);
    margin-right: 15px;
}

.chat-message.answer {
    background-color: #d1e7dd;
    margin-left: 15px;
    text-align: right;
}

.chat-message.answer.pending {
    background-color: #f8d7da;
}

.badge-green {
    background-color: green;
    color: white;
    font-weight: 900;
    /* padding: 3px; */
    border: solid 1px green;
    border-radius: 5px;
}

.questionInput {
    margin-top: 20px;
}

.new-message-btn {
    background-color: #00c56e !important;
    color: white;
}


.payment-plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.payment-plans .payment-plan {
    flex: 1;
    border: solid 2px #c7c7c7;
    padding: 20px;
    border-radius: 15px;
    background: #f9f9f9;
    max-width: 300px;
    min-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.payment-plans .payment-plan h3 {
    text-align: center;
}

.payment-plans .title {
    text-align: center;
    min-height: 50px;
    width: 100%;
}

.payment-plans .services {
    flex: 1; /* Take up available space to push payment section down */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: 160px; /* Ensures uniform height across all plans */
}

.payment-plans .services ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.payment-plans .services li {
    padding-bottom: 5px;
}

.payment-plans .payment-plan .payment-section {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 15px;
    width: 100%;
}

.payment-plans .payment-plan .payment-buttons {
    text-align: center;
    margin-top: 15px;
}

.payment-plans .payment-plan .payment-buttons p {
    margin-bottom: 10px;
}

@media only screen and (min-width: 300px) {
    .payment-plans .paypal-button-container {
        min-width: 200px !important;
        max-width: 250px !important;
    }
}

.payment-plans .paypal-button-container {
    min-width: 200px !important;
    max-width: 250px !important;
}


.payment-plans .swpm-button-wrapper input[type="image"] {
    width: 250px !important;
    height: auto !important;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 5px;
}

.pagination a, .pagination span {
    padding: 2px 8px;
    text-decoration: none;
    background-color: #f9f9f9;
    border-radius: 4px;
    color: #333;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current-page {
    background-color: #0170b9;
    color: #fff;
    border-color: #0073aa;
}

.pagination .pagination-prev, .pagination .pagination-next {
    font-weight: normal;
    color: #0170b9;
}

.pagination-info {
    text-align: right;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

form .delete-file-icon {
    cursor: pointer;
    color: #ff0000 !important; /* Using !important to override any conflicting styles */
    font-size: 18px; /* Adjust icon size */
    display: inline-block;
}

.delete-file-icon:hover {
    opacity: 0.7; /* Optional hover effect */
}

.delete-file-icon i {
    transition: transform 0.3s ease;
}

.delete-file-icon.spinning i {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#fileNames {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between images */
}


input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .menu-link, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .ast-menu-toggle, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .ast-masthead-custom-menu-items a:hover, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .menu-link, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .ast-menu-toggle, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .menu-link, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .menu-link, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .ast-menu-toggle, .ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .ast-menu-toggle, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .menu-link, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .menu-link, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .ast-menu-toggle, .ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .ast-menu-toggle, .ast-theme-transparent-header .main-header-menu .menu-item:hover > .menu-link, .ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link, .ast-theme-transparent-header .main-header-menu .current-menu-ancestor > .menu-link {
    color: #000000;
}













