giftjohnpaul27 commited on
Commit
2a354d1
·
verified ·
1 Parent(s): c244abe

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +50 -116
style.css CHANGED
@@ -1,141 +1,75 @@
1
 
2
- * {
3
- box-sizing: border-box;
 
 
 
 
 
4
  }
5
 
6
  body {
7
- margin: 0;
8
- min-height: 100vh;
9
- font-family: Inter, Arial, sans-serif;
10
- background:
11
- radial-gradient(circle at top left, #243b80, transparent 45%),
12
- linear-gradient(135deg, #0f172a, #111827 60%, #1e293b);
13
- color: #f8fafc;
14
- padding: 40px 20px;
15
  }
16
 
17
- .container {
18
- width: 100%;
19
- max-width: 800px;
20
- margin: 50px auto;
21
- padding: 40px;
22
- background: rgba(255,255,255,0.06);
23
- border: 1px solid rgba(255,255,255,0.12);
24
- border-radius: 24px;
25
- box-shadow: 0 25px 60px rgba(0,0,0,0.3);
26
- backdrop-filter: blur(15px);
27
- }
28
-
29
- h1 {
30
- font-size: 34px;
31
- margin-bottom: 12px;
32
- }
33
-
34
- p {
35
- color: #cbd5e1;
36
- line-height: 1.7;
37
- }
38
-
39
- textarea {
40
- width: 100%;
41
- min-height: 180px;
42
- margin-top: 25px;
43
- padding: 20px;
44
- border-radius: 16px;
45
- border: 1px solid #475569;
46
- background: #0f172a;
47
- color: white;
48
- font-size: 16px;
49
- resize: vertical;
50
- outline: none;
51
- }
52
-
53
- textarea:focus {
54
- border-color: #818cf8;
55
- box-shadow: 0 0 0 3px rgba(129,140,248,0.2);
56
  }
57
 
58
  button {
59
- margin-top: 20px;
60
- padding: 16px 24px;
61
- border: none;
62
- border-radius: 12px;
63
- background: linear-gradient(135deg, #6366f1, #8b5cf6);
64
- color: white;
65
- font-size: 16px;
66
- font-weight: bold;
67
- cursor: pointer;
68
- transition: 0.2s;
69
  }
70
 
71
  button:hover {
72
- transform: translateY(-2px);
73
- box-shadow: 0 8px 25px rgba(99,102,241,0.35);
74
  }
75
 
76
- button:disabled {
77
- opacity: 0.5;
78
- cursor: not-allowed;
79
- transform: none;
 
 
80
  }
81
 
82
- #status {
83
- margin-top: 20px;
84
- font-size: 14px;
85
- color: #a5b4fc;
 
 
 
86
  }
87
 
88
- .result-card {
89
- margin-top: 30px;
90
- padding: 25px;
91
- border-radius: 18px;
92
- background: rgba(255,255,255,0.08);
93
- border: 1px solid rgba(255,255,255,0.12);
94
- animation: appear 0.4s ease;
95
  }
96
 
97
- .result-card h2 {
98
- font-size: 28px;
99
- margin-top: 0;
100
  }
101
 
102
- .progress {
103
- height: 12px;
104
- background: #334155;
105
- border-radius: 20px;
106
- overflow: hidden;
107
- margin-top: 20px;
108
- }
109
 
110
- .progress-bar {
111
- height: 100%;
112
- background: linear-gradient(90deg, #818cf8, #c084fc);
113
- border-radius: 20px;
114
- transition: width 0.6s ease;
115
- }
116
-
117
- @keyframes appear {
118
- from {
119
- opacity: 0;
120
- transform: translateY(10px);
121
- }
122
- to {
123
- opacity: 1;
124
- transform: translateY(0);
125
- }
126
- }
127
-
128
- @media (max-width: 600px) {
129
- body {
130
- padding: 15px;
131
- }
132
-
133
- .container {
134
- margin: 20px auto;
135
- padding: 25px;
136
- }
137
 
138
- h1 {
139
- font-size: 26px;
140
- }
141
  }
 
1
 
2
+ :root {
3
+ --bg: #0b1120;
4
+ --panel: rgba(255,255,255,0.07);
5
+ --text: #e8eefc;
6
+ --muted: #a9b7d0;
7
+ --border: rgba(255,255,255,0.13);
8
+ --accent: #8b7cff;
9
  }
10
 
11
  body {
12
+ background: radial-gradient(circle at top, #182544, var(--bg) 65%);
13
+ color: var(--text);
14
+ font-family: Inter, Arial, sans-serif;
 
 
 
 
 
15
  }
16
 
17
+ .container, main, .card {
18
+ max-width: 1100px;
19
+ margin: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
 
22
  button {
23
+ border: 0;
24
+ border-radius: 12px;
25
+ padding: 12px 18px;
26
+ font-weight: 600;
27
+ cursor: pointer;
28
+ transition: transform .2s, opacity .2s;
 
 
 
 
29
  }
30
 
31
  button:hover {
32
+ transform: translateY(-2px);
33
+ opacity: .9;
34
  }
35
 
36
+ textarea, input, select {
37
+ background: rgba(8,15,30,.8);
38
+ color: var(--text);
39
+ border: 1px solid var(--border);
40
+ border-radius: 14px;
41
+ padding: 14px;
42
  }
43
 
44
+ .card, .result-card, .dashboard-card {
45
+ background: var(--panel);
46
+ border: 1px solid var(--border);
47
+ border-radius: 18px;
48
+ backdrop-filter: blur(15px);
49
+ padding: 20px;
50
+ margin: 14px 0;
51
  }
52
 
53
+ h1, h2, h3 {
54
+ letter-spacing: -0.4px;
 
 
 
 
 
55
  }
56
 
57
+ small, .muted {
58
+ color: var(--muted);
 
59
  }
60
 
61
+ @media(max-width: 768px) {
62
+ .container, main {
63
+ width: 95%;
64
+ padding: 10px;
65
+ }
 
 
66
 
67
+ button {
68
+ width: 100%;
69
+ margin: 5px 0;
70
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
+ textarea {
73
+ width: 100%;
74
+ }
75
  }