Files
web_auth/auth/styles.css
2026-01-19 05:35:37 +03:00

118 lines
1.9 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
color: #0b1320;
background: radial-gradient(circle at top, #f0f4ff 0%, #e4ecff 45%, #dfe8ff 100%);
min-height: 100vh;
}
.page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 16px;
}
.card {
width: min(420px, 100%);
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(16px);
border-radius: 20px;
padding: 32px;
box-shadow: 0 20px 60px rgba(25, 42, 80, 0.15);
border: 1px solid rgba(255, 255, 255, 0.6);
}
.card__header {
margin-bottom: 24px;
}
.card__header h1 {
margin: 0 0 8px;
font-size: 26px;
font-weight: 700;
}
.card__subtitle {
margin: 0;
color: #51607a;
font-size: 14px;
}
.form {
display: grid;
gap: 16px;
}
.field {
display: grid;
gap: 8px;
}
.field__label {
font-size: 13px;
color: #4c5a73;
}
.field__input {
width: 100%;
border-radius: 12px;
border: 1px solid #d6def2;
padding: 12px 14px;
font-size: 15px;
transition: border 0.2s ease, box-shadow 0.2s ease;
}
.field__input:focus {
outline: none;
border-color: #6f87ff;
box-shadow: 0 0 0 4px rgba(111, 135, 255, 0.2);
}
.button {
display: inline-block;
text-decoration: none;
text-align: center;
border: none;
border-radius: 12px;
padding: 12px 16px;
font-size: 15px;
font-weight: 600;
color: #fff;
background: linear-gradient(120deg, #5b7cfa, #7b5bfa);
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover {
transform: translateY(-1px);
box-shadow: 0 12px 24px rgba(91, 124, 250, 0.25);
}
.button:disabled {
cursor: not-allowed;
opacity: 0.7;
box-shadow: none;
}
.form__message {
min-height: 20px;
font-size: 13px;
color: #4c5a73;
}
.form__message--error {
color: #b91c1c;
}
.form__message--success {
color: #166534;
}