/* Gated Content Block Styles */

/* .indietech-gated-content-block {
    max-width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.indietech-gated-content-form h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.indietech-gated-content-form p {
    margin: 0 0 1.5rem 0;
    color: #6c757d;
    line-height: 1.6;
}

.its-gf-placeholder {
    padding: 1.5rem;
    background: #f0f6fc;
    border: 1px dashed #007cba;
    border-radius: 4px;
    text-align: center;
    color: #1e3a5f;
}

.indietech-gated-content-hidden iframe {
    width: 100%;
}

.indietech-gated-content-hidden .wp-embed-aspect-16-9 {
    aspect-ratio: 16/9;
}

.indietech-gated-content-hidden .wp-block-embed__wrapper {
    height: 100%;
}

.indietech-gated-content-hidden .wp-block-embed__wrapper iframe {
    width: 100%;
    height: 100%;
}

.indietech-gated-content-hidden .wp-block-buttons .wp-element-button {
    background-color: #88E73E !important;
    color: black;
    cursor: pointer;
    font-weight: 700;
    padding: 15px 20px;
    width: 100%;
    border-radius: 0;
} */

/* Editor Styles */
.indietech-gated-content-block-editor {
    border: 1px solid gray;
    padding: 0.5rem;
    border-radius: 4px;
}

.its-form {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid gray;
}

.indietech-gated-content-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 4px;
    border: 1px solid gray;
}

.indietech-gated-content-preview h4 {
    margin: 0 0 0.5rem 0;
    color: #495057;
    font-size: 1rem;
}

.indietech-gated-content-help {
    margin: 0 0 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

.indietech-gated-content-inner-blocks {
    border: 2px dashed #28a745;
    border-radius: 4px;
    padding: 1rem;
    background: #f8fff9;
    min-height: 100px;
}

.indietech-gated-content-inner-blocks .block-editor-inner-blocks {
    min-height: 80px;
}

.indietech-gated-content-inner-blocks .block-editor-block-list__layout {
    min-height: 80px;
}

.its-redirect-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}

.its-redirect-preview p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
}

/* Admin Settings Styles */
.indietech-gated-content-admin {
    max-width: 800px;
}

.indietech-gated-content-admin .form-table th {
    width: 200px;
}

.indietech-gated-content-admin select {
    min-width: 300px;
}

.indietech-gated-content-admin .description {
    margin-top: 0.5rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .indietech-gated-content-block {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .indietech-gated-content-form h3 {
        font-size: 1.25rem;
    }
} 