/* Custom Rubrics Section Styling */
.custom-rubrics-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--border);
}

.custom-rubrics-divider {
    text-align: center;
    margin-bottom: 1.5rem;
}

.custom-rubrics-divider span {
    background: var(--background);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
}

.custom-rubrics-intro {
    text-align: center;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.custom-rubrics-intro strong {
    color: var(--primary);
}

.custom-rubrics-list {
    min-height: 60px;
    margin-bottom: 1rem;
}

.custom-rubrics-list .no-custom {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 1rem;
}

.rubrics-container {
    margin-bottom: 1.5rem;
}

/* Stylish Create Custom Rubric Button */
#createCustomRubric {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

#createCustomRubric::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#createCustomRubric:hover::before {
    left: 100%;
}

#createCustomRubric:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

#createCustomRubric:active {
    transform: translateY(0);
}