File size: 3,571 Bytes
423355f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* assets/custom.css */

/* --- General & Typography (Item 7, 11) --- */
body {
    background-color: #F7F9FC; /* Neutral background */
    color: #212B36; /* Dark text */
    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif;
    font-size: 14px;
}

/* Use H1 from dbc.Container/app.layout directly */
.h1, h1 {
    font-size: 24px; /* H2 equivalent in request */
    font-weight: 600;
}

/* Card titles */
.card-title.h5, .h5.card-title {
    font-size: 18px; /* H3 equivalent */
    font-weight: 600;
    margin-bottom: 1rem; /* Add space below title */
}

/* Form labels (Item 2) */
.form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.3rem; /* Space between label and input */
    display: block; /* Ensure it takes full width */
}

/* Form inputs (Item 2) */
.form-control,
.form-select {
    font-size: 14px;
    /* width: 100%; Ensure inputs take full width - Bootstrap usually handles this in columns */
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem; /* Softer corners */
}

/* Form help text */
.form-text {
    font-size: 12px;
    color: #6c757d; /* Muted color */
}

/* --- Layout & Spacing (Item 1, 7) --- */
.container-fluid {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Spacing between form rows inside cards */
.card-body .mb-3 {
    margin-bottom: 1rem !important; /* Default is 1rem, ensure consistency */
}

/* Spacing between cards */
.card {
    margin-bottom: 24px;
    border: 1px solid #dee2e6; /* Subtle border */
    border-radius: 0.5rem; /* Consistent radius */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
    /* Padding is handled by card-body */
}

/* --- Button Styling (Item 4, 5, 11) --- */

/* Primary Action Button (Generate Schedule) */
#generate-button.btn-primary {
    background-color: #0A74DA; /* Accent color */
    border-color: #0A74DA;
    font-weight: 500;
    padding: 0.6rem 1.2rem; /* Slightly larger padding */
}

#generate-button.btn-primary:hover,
#generate-button.btn-primary:focus {
    background-color: #085ead; /* Darker accent on hover/focus */
    border-color: #085ead;
}

#generate-button.btn-primary:disabled {
    background-color: #a0cff7; /* Lighter, muted accent when disabled */
    border-color: #a0cff7;
}

/* Strategy Toggle Buttons */
.btn-group .btn {
    margin-right: 0.5rem; /* Space between buttons */
    margin-bottom: 0.5rem; /* Space for wrapping */
    border-radius: 1rem; /* Pill shape */
    padding: 0.4rem 0.8rem;
    font-size: 13px;
}

/* Active strategy button */
.btn-group .btn.btn-primary:not(.disabled):not(:disabled).active,
.btn-group .btn.btn-primary:not(.disabled):not(:disabled):active {
    background-color: #0A74DA; /* Accent color */
    border-color: #0A74DA;
    color: white;
    box-shadow: none; /* Remove default active shadow if needed */
}

/* Inactive strategy button (using outline secondary) */
.btn-group .btn.btn-outline-secondary {
    border-color: #ced4da;
    color: #495057;
}

.btn-group .btn.btn-outline-secondary:hover {
    background-color: #e9ecef;
}

/* --- Validation Feedback --- */
.invalid-feedback {
    font-size: 12px;
    margin-top: 0.25rem;
}

/* --- Responsive Adjustments (Item 10) --- */
/* Bootstrap handles column stacking. We might need more specific rules later */
/* e.g., adjust chart container width/scrolling on smaller screens */

/* Chart Container - Add basic styles, will be refined (Item 9) */
#graph-output-container .plotly.graph-div {
    /* Add styles for the chart itself if needed */
}