/* İşletme Veri Oluşturucu CSS */

.isletme-veri-olusturucu {
    background: #1e1e1e;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0073aa;
}

.header-section h1 {
    color: #0073aa;
    font-size: 28px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-section .dashicons {
    font-size: 32px;
    color: #0073aa;
}

.header-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.header-actions .page-title-action {
    background: #0073aa;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-actions .page-title-action:hover {
    background: #005a87;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* Form Container */
.form-container {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-row {
    margin-bottom: 20px;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #0073aa;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #3d3d3d;
    border: 2px solid #4d4d4d;
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
    background: #4d4d4d;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group .help-text {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* Keywords Input Group */
.keywords-input-group,
.description-input-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.keywords-input-group input,
.description-input-group textarea {
    flex: 1;
}

.description-input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.ai-button {
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-button:hover {
    background: linear-gradient(135deg, #005a87, #0073aa);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.4);
}

.ai-button .dashicons {
    font-size: 16px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #4d4d4d;
}

.form-actions .button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.form-actions .button-secondary {
    background: #4d4d4d;
    color: #ffffff;
}

.form-actions .button-secondary:hover {
    background: #5d5d5d;
    transform: translateY(-2px);
}

.form-actions .button-primary {
    background: linear-gradient(135deg, #0073aa, #00a0d2);
    color: #ffffff;
    font-size: 16px;
    padding: 15px 25px;
}

.form-actions .button-primary:hover {
    background: linear-gradient(135deg, #005a87, #0073aa);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}

.form-actions .dashicons {
    font-size: 18px;
}

/* Info Panel */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
    color: #0073aa;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.info-card p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.info-card ul {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

.info-card strong {
    color: #ffffff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #2d2d2d;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-content.large {
    max-width: 700px;
}

.modal-content h3 {
    color: #0073aa;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: #0073aa;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #4d4d4d;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 18px;
    color: #0073aa;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .isletme-veri-olusturucu {
        padding: 15px;
    }
    
    .header-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-row.two-columns,
    .form-row.three-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .keywords-input-group {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
}

/* WordPress Admin Integration */
.isletme-veri-olusturucu .wrap {
    margin: 10px 20px 0 2px;
}

.isletme-veri-olusturucu .button {
    height: auto;
    line-height: normal;
}

/* Custom Scrollbar */
.isletme-veri-olusturucu ::-webkit-scrollbar {
    width: 8px;
}

.isletme-veri-olusturucu ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.isletme-veri-olusturucu ::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 4px;
}

.isletme-veri-olusturucu ::-webkit-scrollbar-thumb:hover {
    background: #005a87;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Download Status */
.download-status {
    background: rgba(0, 115, 170, 0.1);
    border: 1px solid #0073aa;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #0073aa;
    font-weight: 600;
}

.download-info .dashicons {
    font-size: 20px;
}

.download-progress {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #4d4d4d;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressAnimation 2s ease-in-out infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Multiple Files Info */
.multiple-files-info {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.files-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffc107;
    font-weight: 600;
    font-size: 16px;
}

.files-header .dashicons {
    font-size: 20px;
}

.files-details p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.files-example {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 10px;
    color: #ffc107;
    font-size: 14px;
}

/* Profile Status */
.profile-status {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4caf50;
    font-weight: 600;
}

.profile-info .dashicons {
    font-size: 18px;
}

.profile-actions .button-small {
    padding: 8px 12px;
    font-size: 12px;
    background: #4caf50;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-actions .button-small:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-weight: 500;
}

.message.success {
    background: rgba(0, 128, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
}

.message.info {
    background: rgba(0, 115, 170, 0.1);
    border: 1px solid #0073aa;
    color: #0073aa;
}

/* Beta Badge */
.beta-badge {
    background: #ff6b35;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Action Groups */
.action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.group-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.group-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-links .page-title-action {
    padding: 6px 12px;
    font-size: 12px;
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    white-space: nowrap;
}

.group-links .page-title-action .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-actions {
        gap: 15px;
    }

    .action-group {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .action-group {
        min-width: auto;
        width: 100%;
    }

    .group-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .group-links .page-title-action {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .group-links {
        flex-direction: column;
    }

    .group-links .page-title-action {
        width: 100%;
        justify-content: flex-start;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Demo Sayfası Stilleri */
.isletme-demo-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.demo-header {
    text-align: center;
    margin-bottom: 50px;
}

.demo-header h2 {
    font-size: 3rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.demo-header .dashicons {
    font-size: 3.5rem;
    color: #ffd700;
    margin-right: 15px;
}

.demo-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.demo-features {
    margin-bottom: 60px;
}

.demo-features h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ffd700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    color: #ffd700;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.demo-preview {
    margin-bottom: 60px;
}

.demo-preview h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ffd700;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scenario-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.scenario-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #ffd700;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #ffd700;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.demo-benefits {
    margin-bottom: 60px;
}

.demo-benefits h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ffd700;
}

.benefits-list {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
    margin: 0;
}

.benefits-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.demo-cta {
    text-align: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h3 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    color: #ffd700;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .button {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.cta-buttons .button-primary {
    background: #ffd700;
    color: #333;
}

.cta-buttons .button-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-buttons .button-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-buttons .button-secondary:hover {
    background: #ffffff;
    color: #333;
    transform: translateY(-2px);
}

.cta-buttons .dashicons {
    font-size: 1.2rem;
}

/* Responsive Demo Sayfası */
@media (max-width: 768px) {
    .demo-header h2 {
        font-size: 2.2rem;
    }
    
    .demo-header .dashicons {
        font-size: 2.5rem;
    }
    
    .demo-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .scenario-card {
        padding: 20px;
    }
    
    .scenario-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .benefits-list {
        padding: 20px;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .isletme-demo-page {
        padding: 20px 15px;
    }
    
    .demo-header h2 {
        font-size: 1.8rem;
    }
    
    .demo-subtitle {
        font-size: 1rem;
    }
    
    .demo-features h3,
    .demo-preview h3,
    .demo-benefits h3 {
        font-size: 1.8rem;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
    }
}
