.ai-sentence-generator-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ai-sentence-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.ai-sentence-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.ai-sentence-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-sentence-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-sentence-form-group label {
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.ai-sentence-form-group .required {
    color: #e74c3c;
}

.ai-sentence-form-group .description {
    font-size: 12px;
    color: #888;
    margin-top: -4px;
}

.ai-sentence-form-group input[type="text"],
.ai-sentence-form-group input[type="number"],
.ai-sentence-form-group select,
.ai-sentence-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.ai-sentence-form-group input[type="text"]:focus,
.ai-sentence-form-group input[type="number"]:focus,
.ai-sentence-form-group select:focus,
.ai-sentence-form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.ai-sentence-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.ai-sentence-generate-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.ai-sentence-generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(17, 153, 142, 0.4);
}

.ai-sentence-generate-btn:active:not(:disabled) {
    transform: translateY(0);
}

.ai-sentence-generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
}

.ai-sentence-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
}

.ai-sentence-limit-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.ai-sentence-result {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.ai-sentence-result h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.ai-sentence-output {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    white-space: pre-wrap;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    min-height: 80px;
    margin-bottom: 15px;
    text-align: left;
}

.ai-sentence-stats {
    background: #e8f5e9;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2e7d32;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ai-sentence-stats span {
    font-weight: 600;
}

.ai-sentence-copy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ai-sentence-copy-btn:hover {
    background: #218838;
}

.ai-sentence-copy-success {
    margin-left: 15px;
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 768px) {
    .ai-sentence-generator-container {
        padding: 15px;
    }
    
    .ai-sentence-form-wrapper {
        padding: 25px;
    }
    
    .ai-sentence-title {
        font-size: 24px;
    }
    
    .ai-sentence-stats {
        flex-direction: column;
        gap: 8px;
    }
}



