/* VL AI Marketing Tools — Common Styles */
:root :where(.is-layout-constrained) > * {margin-block-start: 0 !important;}
.vl-aimt-error {
    padding: 20px;
    background: #1a0000;
    border: 1px solid #4a1010;
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.9rem;
}
#aiWirterBlogArticle h2, #aiWirterBlogArticle h3 {
  line-height: 1.5;
}
.page-id-353 h1.page-title-replace {
  margin-bottom: 1.55rem;
  font-size: 3rem;
}
.vl-aimt-container {
    max-width: 1080px !important;
    margin: 40px auto;
    background: rgba(0,0,0,.2);
    border-radius: 8px;
    backdrop-filter: blur(21px);
    overflow: hidden;
    font-family: var(--wp--preset--font-family--helvetica-now-display);
    border: 1px solid #000;
    padding: 40px;
}
.vl-aimt-header {
    margin-bottom: 24px;
}
.vl-aimt-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #f1f1f1;
}
.vl-aimt-subtitle {
    font-size: 0.95rem;
    opacity: 0.7;
    margin: 0;
    color: #f1f1f1;
}
.vl-aimt-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.vl-aimt-input-group input,
.vl-aimt-input-group textarea {
    flex: 1;
    padding: 20px 16px;
    border: 1px solid #f1f1f1 !important;
    border-radius: 0 !important;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #f1f1f1 !important;
    color: #000 !important;
}
.vl-aimt-tool-shortcode {
  max-width: 1080px !important;
}
.vl-aimt-input-group input::placeholder,
.vl-aimt-input-group textarea::placeholder {
    color: #666;
}
.vl-aimt-input-group input:focus,
.vl-aimt-input-group textarea:focus {
    border-color: var(--vl-aimt-primary, #6366f1);
}
.vl-aimt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 0 !important;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    background: #724fff;
    color: #f1f1f1;
}
.vl-aimt-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
.vl-aimt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.vl-aimt-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,244,233,0.3);
    color: #f1f1f1;
}
.vl-aimt-btn-secondary:hover {
    background: rgba(255,244,233,0.1);
}
.vl-aimt-results {
    margin-top: 24px;
    display: none;
}
.vl-aimt-results.visible {
    display: block;
}
.vl-aimt-results-content {
    padding: 24px;
    border: 1px solid rgba(255,244,233,0.15);
    border-radius: 8px;
    line-height: 1.7;
    white-space: pre-wrap;
    color: #f1f1f1;
}
.vl-aimt-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.vl-aimt-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,244,233,0.3);
    border-top-color: #f1f1f1;
    border-radius: 50%;
    animation: vlAimtSpin 0.6s linear infinite;
    margin-right: 8px;
}
@keyframes vlAimtSpin {
    to { transform: rotate(360deg); }
}
.vl-aimt-label {
    font-weight: 600;
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #f1f1f1;
}
.vl-aimt-directives {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.vl-aimt-directive {
    padding: 8px 12px;
    border: 1px solid rgba(255,244,233,0.25);
    border-radius: 0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    color: #f1f1f1;
}
.vl-aimt-directive:hover {
    background: rgba(255,244,233,0.1);
    border-color: rgba(255,244,233,0.4);
}
.blog-writer-header .vl-aimt-container p {
  max-width: unset !important;
}
.vl-aimt-directive.active {
    background: #f1f1f1;
    color: #06060b;
    border: none;
    border-radius: 0;
}
#vl-blogname-69ca9d325ec51-input {
  color: #000 !important;
}
.vl-aimt-copy-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #f1f1f1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid rgba(255,244,233,0.2);
}
.vl-aimt-copy-toast.visible {
    opacity: 1;
}
/* Name generator results */
.vl-aimt-name-results {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vl-aimt-name-item {
    padding: 16px;
    border: 1px solid rgba(255,244,233,0.15);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.vl-aimt-name-item:hover {
    border-color: rgba(255,244,233,0.35);
    background: rgba(255,244,233,0.05);
}
.vl-aimt-name-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: #f1f1f1;
}
.vl-aimt-name-domain {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0 0 4px;
    color: #f1f1f1;
}
.vl-aimt-name-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    color: #f1f1f1;
}
/* Meta tag results */
.vl-aimt-meta-option {
    padding: 20px;
    border: 1px solid rgba(255,244,233,0.15);
    border-radius: 8px;
    margin-bottom: 12px;
}
.vl-aimt-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.5;
    margin: 0 0 4px;
    color: #f1f1f1;
}
.vl-aimt-meta-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4d9fff;
    margin: 0 0 8px;
}
.vl-aimt-meta-desc {
    font-size: 0.9rem;
    color: #f1f1f1;
    opacity: 0.85;
    margin: 0;
}
.vl-aimt-meta-preview {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,244,233,0.1);
    margin-top: 12px;
}
.vl-aimt-meta-preview-url {
    font-size: 0.8rem;
    color: #4caf50;
    margin: 0 0 2px;
}
.vl-aimt-char-count {
    font-size: 0.75rem;
    opacity: 0.5;
    text-align: right;
    margin-top: 6px;
    color: #f1f1f1;
}

/* Layout width overrides for tool pages */
.entry-content.wp-block-post-content.is-layout-flow.wp-block-post-content-is-layout-flow {
    max-width: 1280px;
}
.vl-aimt-container {
    max-width: 1280px !important;
}
