
/* CKLinks Admin Styles */
.cklinks-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.cklinks-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
.cklinks-btn {
    transition: all 0.2s ease;
}
.cklinks-btn:hover {
    transform: translateY(-1px);
}
.cklinks-input:focus {
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.cklinks-table {
    border-collapse: separate;
    border-spacing: 0;
}
.cklinks-table th {
    position: sticky;
    top: 0;
    background-color: #f9fafb;
    z-index: 10;
}
.cklinks-copy-btn {
    position: relative;
}
.cklinks-copy-btn::after {
    content: "Copied!";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0e06a2;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.cklinks-copy-btn.copied::after {
    opacity: 1;
}
/* Fix for Tailwind in WordPress admin */
#wpbody-content .wrap h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
}
#wpbody-content input[type="text"], 
#wpbody-content input[type="url"],
#wpbody-content textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
}
#wpbody-content input[type="text"]:focus, 
#wpbody-content input[type="url"]:focus,
#wpbody-content textarea:focus {
    outline: none;
    border-color: #0e06a2;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
#wpbody-content .button-primary {
    background-color: #0e06a2;
    border-color: #0e06a2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}
#wpbody-content .button-primary:hover {
    background-color: #4338CA;
    border-color: #4338CA;
    transform: translateY(-1px);
}

/* CKLinks Frontend Styles */
.cklinks-container {
    animation: fadeIn 0.5s ease-in-out;
}
.cklinks-btn {
    transition: all 0.2s ease;
    background-color: #0e06a2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.cklinks-btn:hover {
    transform: translateY(-1px);
    filter: brightness(110%);
    box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}
.cklinks-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}
.cklinks-btn svg {
    margin-right: 0.5rem;
}
.cklinks-progress-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 8px;
    overflow: hidden;
}
.cklinks-progress-bar {
    height: 100%;
    background-color: #10b981;
    transition: width 1s linear;
    border-radius: 9999px;
}
.cklinks-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.cklinks-captcha-container {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f9fafb;
}
.cklinks-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.cklinks-step {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    background-color: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
}
.cklinks-step.active {
    background-color: #0e06a2;
    color: white;
}
.cklinks-step.completed {
    background-color: #10b981;
    color: white;
}
.cklinks-scroll-indicator {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #0e06a2;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    z-index: 40;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.cklinks-hidden {
    display: none !important;
}
.cklinks-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Fix for blog post content margins */
.content-area {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.entry-content {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Ensure proper content width */
.prose {
    max-width: 65ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ad Container Styles - ADDED */
.cklinks-ad {
    clear: both;
    text-align: center;
    margin: 1.5rem 0;
    overflow: visible !important;
    min-height: 1px;
    position: relative;
    z-index: 1;
}
.cklinks-ad > * {
    margin: 0 auto;
}
.cklinks-ad iframe {
    margin: 0 auto !important;
}
