File size: 2,868 Bytes
7bd8010
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.gradio-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    font-family: 'Inter', sans-serif;
}

.tab-nav {
    background: rgba(51, 65, 85, 0.8) !important;
    border-radius: 12px !important;
    padding: 4px !important;
}

.tab-nav button {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.tab-nav button.selected {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

/* .panel { THIS CAUSES ISSUES
    background: rgba(30, 41, 59, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(71, 85, 105, 0.3);
    backdrop-filter: blur(10px);
} */

.gr-button {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.gr-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4) !important;
}

.secondary-btn {
    background: linear-gradient(135deg, #475569, #334155) !important;
}

.danger-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}

.gr-textbox, .gr-dropdown {
    background: rgba(51, 65, 85, 0.6) !important;
    border: 1px solid rgba(71, 85, 105, 0.4) !important;
    border-radius: 8px !important;
    color: white !important;
}

/* Ensure dropdown options appear correctly */
.gr-dropdown {
    position: relative !important; /* Ensure dropdown options are positioned relative to this */
}
/* More robust selector for dropdown options, targeting the 'options' class */
.options {
    background: rgba(51, 65, 85, 0.95) !important; /* Slightly darker background for options */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}


.gr-file {
    background: rgba(51, 65, 85, 0.6) !important;
    border: 2px dashed rgba(71, 85, 105, 0.4) !important;
    border-radius: 12px !important;
}

/* Existing custom classes, ensure they are compatible or overridden */
.learnflow-button-large {
    min-height: 40px !important; /* Increase height */
    font-size: 1.2em !important; /* Increase font size */
    padding: 15px 30px !important; /* Adjust padding */
}

.learnflow-button-rounded {
    border-radius: 20px !important; /* Apply rounded corners */
}

.quiz-section {
    background: rgba(51, 65, 85, 0.6) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.correct-feedback {
    color: #10b981 !important;
    font-weight: bold !important;
}

.incorrect-feedback {
    color: #dc2626 !important;
    font-weight: bold !important;
}