📄 Source: style.css
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-start: #667eea;
--bg-end: #764ba2;
--primary: #ffffff;
--secondary: #f9f9f9;
--text: #333;
--border: #ddd;
--shadow: 0 5px 15px rgba(0,0,0,0.1);
}
[data-theme="dark"] {
--bg-start: #1a1a2e;
--bg-end: #16213e;
--primary: #1e1e2e;
--secondary: #2d2d3a;
--text: #e0e0e0;
--border: #404040;
--shadow: 0 5px 15px rgba(0,0,0,0.3);
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(255,255,255,0.1);
padding: 15px 20px;
border-radius: 10px;
margin-bottom: 20px;
backdrop-filter: blur(10px);
}
.logo {
display: flex;
align-items: center;
gap: 10px;
}
.logo-icon {
font-size: 1.8em;
}
h1 {
color: white;
font-size: 1.3em;
margin: 0;
}
/* TINY THEME BUTTON - FIXED WIDTH */
.theme-toggle {
background: rgba(255,255,255,0.2);
border: none;
padding: 6px 12px;
border-radius: 30px;
color: white;
cursor: pointer;
font-size: 14px;
transition: all 0.3s;
width: 70px;
text-align: center;
display: inline-block;
white-space: nowrap;
}
.theme-toggle:hover {
background: rgba(255,255,255,0.3);
transform: scale(1.02);
}
.form-section, .error-message {
background: var(--primary);
padding: 25px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: var(--shadow);
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
margin-bottom: 15px;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: var(--text);
}
input, select, textarea {
width: 100%;
padding: 10px;
border: 1px solid var(--border);
border-radius: 5px;
font-size: 14px;
background: var(--primary);
color: var(--text);
}
input:focus, select:focus, textarea:focus {
outline: none;
border-color: #667eea;
}
textarea {
min-height: 80px;
resize: vertical;
}
.error {
color: #e74c3c;
font-size: 12px;
margin-top: 5px;
}
.checkbox-group {
display: flex;
align-items: center;
gap: 10px;
margin-top: 25px;
}
.checkbox-group input {
width: auto;
}
.button-group {
display: flex;
gap: 10px;
margin-top: 20px;
}
button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
font-weight: bold;
flex: 1;
}
.btn-clear {
background: #6c757d;
}
button:hover {
transform: translateY(-2px);
box-shadow: var(--shadow);
}
.error-message {
background: #f8d7da;
color: #721c24;
padding: 15px;
border-radius: 5px;
}
.error-message ul {
margin-left: 20px;
margin-top: 10px;
}
.footer {
text-align: center;
color: white;
padding: 20px;
font-size: 12px;
}
.symbols {
font-size: 20px;
margin-top: 10px;
opacity: 0.8;
}
@media (max-width: 600px) {
.form-row {
grid-template-columns: 1fr;
gap: 0;
}
h1 {
font-size: 1.1em;
}
.logo-icon {
font-size: 1.3em;
}
.theme-toggle {
width: 60px;
padding: 5px 8px;
font-size: 12px;
}
}
← Back