.about-wrap .centered-div {
    background-color: #f9f9f9; /* Lighter background */
    border: 1px solid #ccc; /* Border */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding inside the div */
    margin: 10px auto; /* Center the div */
    width: 80%; /* Adjust the width as needed */
    text-align: center; /* Center the text */
}

#wp-connectr-welcome-header {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
}

#wp-connectr-welcome-header img.logo {
    width: 150px;
    margin: 20px;
}

#wp-connectr-welcome-header h1 {
    font-size: 2.5em;
    margin-bottom: 0;
}

#wp-connectr-summary {
    font-size: 1.5em;
    text-align: center;
}

table.resource_abilities tbody td {
    padding: 5px;
    text-align: center;
}

table.resource_abilities tbody td.resc {
    text-align: left;
}

/* Products list styling */
.products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: background-color 0.3s ease;
}

.product-item:hover {
    background-color: #f0f0f0;
}

.product-logo {
    flex: 0 0 60px;
    margin-right: 15px;
}

.product-logo img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    display: block;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    margin: 0 0 3px 0;
    font-size: 16px;
    line-height: 1.3;
}

.product-info h4 a {
    text-decoration: none;
    color: #0073aa;
}

.product-info h4 a:hover {
    color: #005177;
    text-decoration: underline;
}

.product-info p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.2;
}

/* Pro content section list styling */
.pro-features-highlight ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.pro-features-highlight ul li {
    margin-bottom: 8px;
    display: list-item;
}

/* Ensure all unordered lists in feature sections have proper bullets */
.feature-section ul:not(.products-list) {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.feature-section ul:not(.products-list) li {
    margin-bottom: 8px;
    display: list-item;
}

/* Pro Content Styles */
.pro-hero-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 12px;
}

.pro-hero-section h3 {
    margin-top: 0;
    font-size: 28px;
    color: #2c3e50;
}

.pro-hero-section p {
    font-size: 18px;
    margin-bottom: 0;
    color: #34495e;
}

.pro-feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    min-height: 580px;
    display: flex;
    flex-direction: column;
}

.pro-feature-card h4 {
    margin-top: 0;
    margin-bottom: 0;
    color: #2c3e50;
    padding-bottom: 10px;
    flex-shrink: 0;
}

.pro-feature-image {
    text-align: center;
    margin: 20px 0;
    flex-shrink: 0;
}

.pro-feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pro-feature-card ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pro-feature-card ul li {
    margin-bottom: 12px;
    position: relative;
    display: block;
    line-height: 1.4;
}

.pro-benefits-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.pro-benefits-card h4 {
    margin: 0;
    color: #2c3e50;
    flex-shrink: 0;
}

.pro-benefits-card h5 {
    color: #27ae60;
    margin-top: 20px;
    flex-shrink: 0;
}

.pro-benefits-card p {
    flex-shrink: 0;
}

.pro-benefits-card ul {
    flex-grow: 1;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}

.pro-benefits-card ul li {
    margin-bottom: 10px;
    position: relative;
    display: block;
    line-height: 1.4;
}

.pro-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-cta h4 {
    margin-top: 0;
    color: white;
}

.pro-cta p {
    color: #ecf0f1;
    margin-bottom: 25px;
}

.pro-cta .button {
    margin: 10px;
    background: #e74c3c;
    border-color: #e74c3c;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
}

.pro-cta small {
    color: #bdc3c7;
}

/* Application Password Modal Styles */
.wp-connectr-connection-setup-area {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.wp-connectr-connection-setup-area p {
    margin-bottom: 15px;
    color: #495057;
}

.wp-connectr-setup-connection-btn {
    font-size: 16px !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
}

/* Modal Overlay */
.wp-connectr-modal {
    display: none;
    position: fixed;
    z-index: 999999; /* Increased z-index to ensure it's above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    /* Force the modal to create its own stacking context */
    transform: translateZ(0);
    /* Ensure modal is not clipped by parent containers */
    overflow: visible;
    /* Reset any inherited properties that might interfere */
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}

.wp-connectr-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    /* Ensure content is not affected by parent containers */
    box-sizing: border-box;
    transform: translateZ(0);
}

.wp-connectr-modal-header {
    background: #0073aa;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.wp-connectr-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.wp-connectr-modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    line-height: 1;
}

.wp-connectr-modal-close:hover,
.wp-connectr-modal-close:focus {
    color: #ddd;
    text-decoration: none;
}

.wp-connectr-modal-body {
    padding: 20px;
}

.wp-connectr-connection-preview {
    text-align: center;
    margin-bottom: 20px;
}

.wp-connectr-connection-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-connectr-connection-fields {
    margin: 20px 0;
}

.wp-connectr-field-group {
    margin-bottom: 15px;
}

.wp-connectr-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.wp-connectr-field-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.wp-connectr-field-container input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    background: transparent;
    font-family: monospace;
    font-size: 13px;
}

.wp-connectr-field-container input:focus {
    outline: none;
    box-shadow: none;
}

.wp-connectr-copy-btn {
    background: #0073aa;
    border: none;
    color: white;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    transition: background-color 0.2s;
}

.wp-connectr-copy-btn:hover:not(:disabled) {
    background: #005a87;
}

.wp-connectr-copy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.wp-connectr-copy-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.wp-connectr-password-actions {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.wp-connectr-app-password-unavailable {
    text-align: left;
}

.wp-connectr-app-password-unavailable ul {
    margin: 10px 0;
    padding-left: 20px;
}

.wp-connectr-copy-feedback {
    position: fixed;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 1000000; /* Even higher z-index for copy feedback */
    pointer-events: none;
}

.wp-connectr-modal-error,
.wp-connectr-modal-success {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
}

/* Setup Instructions Styling */
.wp-connectr-setup-instructions {
    margin-top: 0;
    padding: 0;
    text-align: left;
}

.wp-connectr-setup-instructions h4 {
    margin: 0 0 15px 0;
    color: #23282d;
    font-size: 16px;
    font-weight: 600;
}

.wp-connectr-setup-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.wp-connectr-setup-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #32373c;
}

.wp-connectr-setup-instructions strong {
    color: #0073aa;
}

.wp-connectr-image-description {
    background: #e7f4ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 12px;
    margin: 15px 0;
    font-style: italic;
    color: #0073aa;
    text-align: center;
}

.wp-connectr-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 10px;
    margin-top: 15px;
    color: #856404;
    font-size: 14px;
}

.wp-connectr-modal-error {
    background-color: #ffeaea;
    border-left: 4px solid #dc3232;
}

.wp-connectr-modal-success {
    background-color: #e8f5e8;
    border-left: 4px solid #46b450;
}

/* Prevent body scroll when modal is open */
body.wp-connectr-modal-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-connectr-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .wp-connectr-modal-header {
        padding: 15px;
    }

    .wp-connectr-modal-header h3 {
        font-size: 18px;
        padding-right: 30px;
    }

    .wp-connectr-modal-close {
        right: 15px;
        top: 12px;
        font-size: 24px;
    }

    .wp-connectr-modal-body {
        padding: 15px;
    }

    .wp-connectr-field-container {
        flex-direction: column;
    }

    .wp-connectr-copy-btn {
        border-radius: 0 0 3px 3px;
        width: 100%;
        justify-content: center;
    }

    .wp-connectr-connection-setup-area {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .wp-connectr-setup-connection-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .wp-connectr-field-container input {
        font-size: 12px;
        padding: 8px 10px;
    }
}


