:root {
    --aiseo-primary: #6b46c1;
    --aiseo-primary-dark: #5a32b0;
    --aiseo-secondary: #00c4cc;
    --aiseo-secondary-dark: #00a8af;
    --aiseo-gray-light: #f7f9fc;
    --aiseo-gray: #e2e8f0;
    --aiseo-gray-dark: #718096;
    --aiseo-text: #2d3748;
    --aiseo-success: #48bb78;
    --aiseo-warning: #f6ad55;
    --aiseo-danger: #f56565;
    --aiseo-border-radius: 8px;
    --aiseo-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* General Styles */
.aiseo-wrap {
    margin: 20px 20px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--aiseo-text);
}

.aiseo-wrap * {
    box-sizing: border-box;
}

.aiseo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--aiseo-gray);
}

.aiseo-logo {
    display: flex;
    align-items: center;
}

.aiseo-logo img {
    height: 40px;
    margin-right: 10px;
}

.aiseo-logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--aiseo-primary);
    margin: 0;
}

.aiseo-header-buttons {
    display: flex;
    gap: 10px;
}

/* Card Styles */
.aiseo-card {
    background: #fff;
    border-radius: var(--aiseo-border-radius);
    box-shadow: var(--aiseo-box-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.aiseo-card-header {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--aiseo-gray);
    padding-bottom: 16px;
}

.aiseo-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--aiseo-primary);
}

.aiseo-card-content {
    margin-bottom: 16px;
}

.aiseo-card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    border-top: 1px solid var(--aiseo-gray);
    padding-top: 16px;
}

/* Grid Layout */
.aiseo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.aiseo-col-8 {
    grid-column: span 8;
}

.aiseo-col-4 {
    grid-column: span 4;
}

.aiseo-col-3 {
    grid-column: span 3;
}
.aiseo-col-2 {
    grid-column: span 2;
}


.aiseo-col-6 {
    grid-column: span 6;
}

.aiseo-col-12 {
    grid-column: span 12;
}

@media (max-width: 1200px) {
    .aiseo-col-8, .aiseo-col-4, .aiseo-col-3, .aiseo-col-2 {
        grid-column: span 12;
    }
}

@media (max-width: 782px) {
    .aiseo-col-6 {
        grid-column: span 12;
    }
}

/* Form Elements */
.aiseo-form-group {
    margin-bottom: 20px;
}

.aiseo-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.aiseo-form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--aiseo-gray);
    border-radius: var(--aiseo-border-radius);
    background-color: #fff;
}

.aiseo-form-control:focus {
    border-color: var(--aiseo-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(107, 70, 193, 0.2);
}

.aiseo-textarea {
    min-height: 50px;
    resize: vertical;
}

.aiseo-select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23718096" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    padding-right: 30px;
}

/* Tags input style */
.aiseo-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--aiseo-gray);
    border-radius: var(--aiseo-border-radius);
    min-height: 42px;
    background-color: #fff;
}

.aiseo-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--aiseo-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 16px;
    font-size: 12px;
}

.aiseo-tag-remove {
    margin-left: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.aiseo-tag-remove:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Button styles */
.aiseo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--aiseo-border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    line-height: 1.5;
}

.aiseo-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    margin-right: 8px;
    animation: aiseo-spin 1s linear infinite;
}

.aiseo-btn-primary {
    background-color: var(--aiseo-primary);
    color: white;
}

.aiseo-btn-primary:hover {
    background-color: var(--aiseo-primary-dark);
}

.aiseo-btn-secondary {
    background-color: var(--aiseo-secondary);
    color: white;
}

.aiseo-btn-secondary:hover {
    background-color: var(--aiseo-secondary-dark);
}

.aiseo-btn-outline {
    background-color: transparent;
    color: var(--aiseo-primary);
    border: 1px solid var(--aiseo-primary);
}

.aiseo-btn-outline:hover {
    background-color: var(--aiseo-primary);
    color: white;
}

.aiseo-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.aiseo-btn-lg {
    padding: 12px 20px;
    font-size: 16px;
}

.aiseo-btn-icon {
    padding: 8px;
    border-radius: 50%;
}

/* Status indicators */
.aiseo-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
}

.aiseo-badge-success {
    background-color: rgba(72, 187, 120, 0.1);
    color: var(--aiseo-success);
}

.aiseo-badge-warning {
    background-color: rgba(246, 173, 85, 0.1);
    color: var(--aiseo-warning);
}

.aiseo-badge-danger {
    background-color: rgba(245, 101, 101, 0.1);
    color: var(--aiseo-danger);
}

.aiseo-badge-info {
    background-color: rgba(107, 70, 193, 0.1);
    color: var(--aiseo-primary);
}

/* Dashboard specific styles */
.aiseo-welcome-box {
    background: linear-gradient(135deg, var(--aiseo-primary), var(--aiseo-secondary));
    color: white;
    padding: 30px;
    border-radius: var(--aiseo-border-radius);
    margin-bottom: 24px;
}

.aiseo-welcome-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.aiseo-welcome-text {
    font-size: 16px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.aiseo-welcome-buttons {
    display: flex;
    gap: 10px;
}

/* Account information */
.aiseo-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--aiseo-gray);
}

.aiseo-info-item:last-child {
    border-bottom: none;
}

.aiseo-info-label {
    font-weight: 500;
}

.aiseo-info-value {
    font-weight: 600;
    color: var(--aiseo-primary);
}

/* Article list */
.aiseo-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aiseo-article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--aiseo-gray);
}

.aiseo-article-item:last-child {
    border-bottom: none;
}

.aiseo-article-info {
    display: flex;
    flex-direction: column;
}

.aiseo-article-title {
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.aiseo-article-status {
    margin-left: 8px;
}

.aiseo-article-date {
    font-size: 12px;
    color: var(--aiseo-gray-dark);
}

/* Manual generation specific styles */
.aiseo-step {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.aiseo-step:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--aiseo-primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.aiseo-step-1:before {
    content: "1";
}

.aiseo-step-2:before {
    content: "2";
}

.aiseo-step-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

/* WYSIWYG editor */
.aiseo-editor-wrapper {
    border: 1px solid var(--aiseo-gray);
    border-radius: var(--aiseo-border-radius);
    overflow: hidden;
}

/* Featured image */
.aiseo-featured-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--aiseo-gray-light);
    border-radius: var(--aiseo-border-radius);
}

.aiseo-image-preview {
    width: 100%;
    height: 200px;
    background-color: white;
    border: 1px dashed var(--aiseo-gray-dark);
    border-radius: var(--aiseo-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aiseo-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.aiseo-image-placeholder {
    color: var(--aiseo-gray-dark);
    text-align: center;
}

/* Automatic generation specific styles */
.aiseo-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.aiseo-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.aiseo-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--aiseo-gray);
    transition: .4s;
    border-radius: 24px;
}

.aiseo-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .aiseo-toggle-slider {
    background-color: var(--aiseo-primary);
}

input:checked + .aiseo-toggle-slider:before {
    transform: translateX(26px);
}

/* Loading states */
.aiseo-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aiseo-spinner {
    border: 3px solid var(--aiseo-gray);
    border-top: 3px solid var(--aiseo-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: aiseo-spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes aiseo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal styles */
.aiseo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiseo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.aiseo-modal-content {
    position: relative;
    background-color: white;
    border-radius: var(--aiseo-border-radius);
    box-shadow: var(--aiseo-box-shadow);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 100001;
}

.aiseo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--aiseo-gray);
}

.aiseo-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.aiseo-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    color: var(--aiseo-gray-dark);
}

.aiseo-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

.aiseo-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.aiseo-image-option {
    border-radius: var(--aiseo-border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.aiseo-image-option:hover {
    border-color: var(--aiseo-primary);
}

.aiseo-image-option img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Notification styles */
.aiseo-notices {
    position: relative;
    margin-bottom: 20px;
}

.aiseo-notice {
    padding: 12px 16px;
    border-radius: var(--aiseo-border-radius);
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.aiseo-notice-success {
    background-color: var(--aiseo-success);
    color: white;
}

.aiseo-notice-error {
    background-color: var(--aiseo-danger);
    color: white;
}

.aiseo-notice-warning {
    background-color: var(--aiseo-warning);
    color: white;
}

/* Pricing page styles */
.aiseo-pricing-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.aiseo-current-plan {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.aiseo-plan-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.aiseo-plan-column {
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.aiseo-plan-column:last-child {
    border-right: none;
}

.aiseo-billing-toggle {
    text-align: center;
    margin: 30px 0;
}

.aiseo-subtitle {
    color: #637381;
    margin-bottom: 20px;
    text-align: center;
}

.aiseo-toggle-container {
    display: inline-flex;
    padding: 4px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.06);
    margin: 0 auto;
    justify-content: center;
}

.aiseo-toggle-button {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    background: transparent;
    color: #202223;
    transition: all 0.2s ease;
}

.aiseo-toggle-button.active {
    background: white;
    color: #008060;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.aiseo-save-badge {
    color: #008060;
    font-weight: 600;
    margin-left: 5px;
}

.aiseo-pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.aiseo-plan-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.aiseo-current-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #b4fed2;
    color: black;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.aiseo-best-deal-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #008060;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: bold;
}

.aiseo-price {
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
}

.aiseo-price span {
    font-size: 14px;
    font-weight: normal;
    color: #637381;
}

.aiseo-savings-badge {
    display: inline-block;
    background: #e3f1df;
    color: #008060;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.aiseo-monthly-equivalent {
    font-size: 12px;
    color: #637381;
    margin-top: 5px;
}

.aiseo-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.aiseo-features li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.aiseo-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #008060;
}

.aiseo-yearly-benefits {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aiseo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    background: linear-gradient(to right, #f9fafb, #f4f6f8);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e1e3e5;
}

.aiseo-benefit-card {
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.aiseo-benefit-icon {
    width: 32px;
    height: 32px;
    background: #008060;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.aiseo-cancel-subscription {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aiseo-cancel-button {
    color: #d82c0d !important;
    border-color: #d82c0d !important;
    margin-top: 16px;
}

.aiseo-upgrade-button {
    margin-top: auto;
}

.aiseo-payment-form {
    text-align: center;
    margin-top: auto;
}

.aiseo-payment-button {
    display: inline-block;
    min-width: 160px;
}

h2 {
    text-align: center;
}

.aiseo-subscription-info {
    background: #f9fafb;
    border-radius: 6px;
    padding: 16px;
    margin: 20px 0;
    border: 1px solid #e1e3e5;
}

.aiseo-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e1e3e5;
}

.aiseo-info-row:last-child {
    border-bottom: none;
}

.aiseo-info-label {
    font-weight: 500;
    color: #637381;
}

.aiseo-info-value {
    color: #202223;
    font-weight: 500;
}

/* Settings page styles */

.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid var(--aiseo-gray);
    border-radius: var(--aiseo-border-radius);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-dropdown {
    border: 1px solid var(--aiseo-gray);
    border-radius: var(--aiseo-border-radius);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--aiseo-primary);
}

.select2-search--dropdown .select2-search__field {
    padding: 8px;
    border: 1px solid var(--aiseo-gray);
    border-radius: 4px;
}

/* Manual generation page styles */
.aiseo-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.aiseo-image-option {
    border: 3px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.aiseo-image-option:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.aiseo-image-option.selected {
    border-color: var(--aiseo-primary);
}

.aiseo-image-option img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.aiseo-modal-instructions {
    margin-bottom: 20px;
    text-align: center;
    color: var(--aiseo-gray-dark);
}

.aiseo-modal-content {
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

/* Dashboard page styles */

.aiseo-articles-table {
    width: 100%;
    border-collapse: collapse;
}

.aiseo-articles-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #eee;
    font-weight: 600;
}

.aiseo-articles-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.aiseo-article-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.aiseo-article-title a {
    color: #2271b1;
    text-decoration: none;
}

.aiseo-article-title a:hover {
    color: #135e96;
    text-decoration: underline;
}

.aiseo-article-date {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.aiseo-article-date .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.aiseo-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.aiseo-status-draft {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.aiseo-status-published {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.aiseo-btn-outline.aiseo-btn-sm {
    padding: 4px 12px;
    font-size: 13px;
}

/* Automatic generation page styles */
.aiseo-schedule-grid {
    display: grid;
    gap: 15px;
}

.aiseo-schedule-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    padding: 15px;
    background-color: var(--aiseo-gray-light);
    border-radius: var(--aiseo-border-radius);
}

.aiseo-schedule-day {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiseo-schedule-dot {
    width: 8px;
    height: 8px;
    background-color: var(--aiseo-primary);
    border-radius: 50%;
}

.aiseo-time-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.aiseo-time-badge-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.aiseo-time-badge {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
}

.aiseo-last-published {
    font-size: 0.85em;
    color: var(--aiseo-gray-dark);
}

.aiseo-no-schedule {
    color: var(--aiseo-gray-dark);
    font-style: italic;
}

/* Animation for schedule card */
.aiseo-card.schedule-card {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.aiseo-card.schedule-card.hidden {
    opacity: 0;
    transform: translateY(-20px);
    display: none;
}

.aiseo-card.schedule-card.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Loading animation */
.aiseo-loading-wrapper {
    text-align: center;
    padding: 40px 0;
    margin: 20px 0;
}

.aiseo-loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.aiseo-loading div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--aiseo-primary, #4C6FFF);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.aiseo-loading div:nth-child(1) {
    left: 8px;
    animation: aiseo-loading1 0.6s infinite;
}

.aiseo-loading div:nth-child(2) {
    left: 8px;
    animation: aiseo-loading2 0.6s infinite;
}

.aiseo-loading div:nth-child(3) {
    left: 32px;
    animation: aiseo-loading2 0.6s infinite;
}

.aiseo-loading div:nth-child(4) {
    left: 56px;
    animation: aiseo-loading3 0.6s infinite;
}

@keyframes aiseo-loading1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes aiseo-loading3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}

@keyframes aiseo-loading2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(24px, 0); }
}



