summaryrefslogtreecommitdiff
path: root/frontend/src/styles/index.css
blob: dcc259062ebf9d43d51d88192cab015048a36b0e (plain)
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
:root {
    /* Container vars */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --box-shadow-dark: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Color vars */
    --card-bg: rgba(255, 255, 255, 0.95);
    --color-label: #555;
    --color-subtitle: #777;
    --color-robot: #9c27b0;
    --color-robot-dark: #7b1fa2;
    --color-start: #4caf50;
    --color-start-dark: #2e7d32;
    --color-stop: #ed6c02;
    --color-stop-dark: #e65100;
    /* Spacing vars */
    --gap-normal: 12px;
    --gap-small: 8px;
    /* Text vars */
    --text-small: 0.9rem;

    box-sizing: border-box;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    @media (prefers-color-scheme: light) {
        :root {
            color: #213547;
            background-color: #fff;
        }
    }
}

body {
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
}

h1 {
    color: #333;
    font-size: 1.8rem;
    line-height: 1.1;
}

input {
    border: 1px solid #ddd;
    border-radius: var(--border-radius-small);
    box-sizing: border-box;
    font-size: 1rem;
    padding: var(--gap-normal);
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;

    &:focus {
        border-color: var(--color-start);
        box-shadow: 0 0 0 3px rgba(3, 106, 32, 0.243);
        outline: none;
    }

    &:disabled {
        background-color: #f0f3f3;
        cursor: not-allowed;
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.error-message {
    background-color: #fcebeb;
    border: 1px solid #cc0000;
    border-radius: var(--border-radius-small);
    color: #cc0000;
    font-size: var(--text-small);
    font-weight: 500;
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
}