/* 
 * AuthorCraft Tools - Responsive Styles
 */

/* Allgemeine Anpassungen für alle Tools */
.authorcraft-tool-container {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Header-Styling */
.authorcraft-header {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.authorcraft-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.authorcraft-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tool-Container */
.tool-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
}

/* Buttons */
.authorcraft-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.authorcraft-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.authorcraft-button-secondary {
    background-color: #95a5a6;
}

.authorcraft-button-secondary:hover {
    background-color: #7f8c8d;
}

/* Formular-Elemente */
.authorcraft-input, 
.authorcraft-textarea, 
.authorcraft-select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.authorcraft-input:focus, 
.authorcraft-textarea:focus, 
.authorcraft-select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Abonnement-Karten */
.subscription-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.subscription-card.featured {
    border: 2px solid #3498db;
    background-color: #f8f9fa;
}

.subscription-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.subscription-card .price {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #3498db;
}

.subscription-card ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.subscription-card ul li {
    margin-bottom: 10px;
    position: relative;
}

.subscription-card ul li:before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: -20px;
}

/* Responsive Anpassungen für mobile Geräte */
@media screen and (max-width: 768px) {
    .authorcraft-header {
        padding: 20px 15px;
    }
    
    .authorcraft-header h1 {
        font-size: 1.8rem;
    }
    
    .tool-container {
        padding: 15px;
    }
    
    /* Textfelder und Eingabeelemente */
    .authorcraft-input, 
    .authorcraft-textarea,
    .authorcraft-select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 10px;
    }
    
    /* Buttons */
    .authorcraft-button {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
    }
    
    /* Tabellen */
    table {
        display: block;
        overflow-x: auto;
        width: 100% !important;
    }
}

/* Spezifische Anpassungen für den Roman-Prompt-Generator */
.roman-generator-container {
    font-family: 'Roboto', Arial, sans-serif;
}

/* Spezifische Anpassungen für den KI-Text-Detektor */
.text-detector-container {
    font-family: 'Roboto', Arial, sans-serif;
}

/* Spezifische Anpassungen für den Text-Humanizer */
.text-humanizer-container {
    font-family: 'Roboto', Arial, sans-serif;
}

/* Dashboard-Karten */
.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.dashboard-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.dashboard-card p {
    margin-bottom: 20px;
    color: #7f8c8d;
}

/* Footer */
.authorcraft-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.authorcraft-footer a {
    color: #3498db;
    text-decoration: none;
}

.authorcraft-footer a:hover {
    text-decoration: underline;
}

/* Elementor-spezifische Anpassungen */
.elementor-widget-authorcraft-tool {
    margin-bottom: 30px;
}

.elementor-widget-authorcraft-tool .elementor-widget-container {
    overflow: visible;
}
