/* Spin The Wheel Activity Styles */

/* Game header - matches hangman game page styling */
.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.game-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Success message section */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-message h2 {
    color: #28a745;
    margin-bottom: 20px;
}

.url-display {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #ddd;
}

.activity-url {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    word-break: break-all;
}

.action-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .create_button {
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-block;
    border: 2px solid #007bff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

/* Ensure button elements have the same styling as anchor elements */
.action-buttons button.create_button {
    display: inline-block !important;
    padding: 12px 24px !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    color: white !important;
    border: 2px solid #007bff !important;
    background: #007bff !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    height: auto !important;
}

.action-buttons button.create_button:hover {
    background: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3) !important;
}

.action-buttons .create_button:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.action-buttons .create_button.secondary {
    background: #6c757d;
    border-color: #6c757d;
}

.action-buttons .create_button.secondary:hover {
    background: #545b62;
    border-color: #545b62;
}

/* Page header */
.page-header {
    padding: 30px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #495057;
    margin-bottom: 25px;
    font-size: 2.2em;
    text-align: center;
}

.buttonBar {
    margin-bottom: 20px;
}

.nav-button {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-button:hover {
    background: #0056b3;
    text-decoration: underline;
}

.version-notice {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.workflow-steps {
    margin: 20px 0;
}

.step-item {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 20px;
    font-size: 0.9em;
}

.user-status {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.user-status.logged-in {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.user-status.logged-out {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.status-icon {
    font-size: 1.5em;
    margin-right: 15px;
}

.user-status.logged-in .status-icon {
    color: #28a745;
}

.user-status.logged-out .status-icon {
    color: #ffc107;
}

/* Exercise creator */
.exercise-creator {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 30px;
    clear: both;
}

.form-section h2 {
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.create_formhead {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    width: 100%;
}

.create_textinput {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.create_textinput:focus {
    outline: none;
    border-color: #007bff;
}

.create_textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.create_textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* Input methods */
.input-method {
    margin-bottom: 20px;
}

/* Bulk input */
.bulk-help {
    color: #6c757d;
    font-size: 0.9em;
    margin-top: 10px;
    font-style: italic;
}

/* Error messages */
.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #f5c6cb;
    display: none; /* Hide by default */
}

.error:not(:empty) {
    display: block; /* Only show when there's content */
}

/* Create section */
.create-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.create_button {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    line-height: 1.2;
}

.create_button:hover {
    background: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .exercise-creator {
        padding: 20px;
    }
    
    .step-item {
        display: block;
        margin: 5px 0;
    }
    
    .buttonBar {
        text-align: center;
    }
    
    .nav-button {
        display: block;
        margin: 5px 0;
    }
}


