summaryrefslogtreecommitdiff
path: root/frontend/src/styles/login.css
blob: 1da01eacdbefcad75e050bee13458142c5092e6e (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
.login-page {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100vh;
    width: 100vw;
}

/* Login Card */
.login-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    width: 360px;

    & .subtitle {
        color: var(--color-subtitle);
        font-size: var(--text-small);
        font-weight: bold;
        margin-bottom: 25px;
    }

    @media screen and (max-width: 768px) {
        .login-card {
            margin: 0 1rem;
        }
    }
}

/* Form */
.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;

    & label {
        color: var(--color-label);
        display: block;
        font-size: var(--text-small);
        font-weight: bold;
        margin-bottom: var(--gap-small);
    }
}

.loading-spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    transform: scale(0.5);
}