/* STEM Homeschool System Styles */
.shs-generator-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    max-width: 700px;
    margin: 20px auto;
}

.shs-generator-wrapper h2 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.shs-form-group {
    margin-bottom: 15px;
}

.shs-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.shs-form-group input[type="text"],
.shs-form-group select,
.shs-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.shs-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

#shs-generate-ai-content-btn {
    background-color: #2ea44f;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#shs-generate-ai-content-btn:hover {
    background-color: #2c974b;
}

#shs-generate-ai-content-btn:disabled {
    background-color: #94d3a2;
    cursor: not-allowed;
}

.shs-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

.shs-spinner.is-active {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.shs-notice {
    padding: 15px;
    margin-top: 20px;
    border: 1px solid;
    border-radius: 4px;
}

.shs-notice-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.shs-notice-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.shs-notice a {
    color: inherit;
    font-weight: bold;
}

/* Add this to the bottom of your existing style.css */

.shs-download-btn {
    display: inline-block;
    background-color: #0073aa;
    color: #ffffff !important;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    border: 1px solid #0073aa;
    transition: background-color 0.2s ease-in-out;
}

.shs-download-btn:hover {
    background-color: #005a87;
    color: #fff;
}