py-learn / src /app /sign-up /sign-up.component.css
Anupriya
duplicate removed
a5d3fab
:host {
display: block;
width: 100%;
min-height: 100vh;
}
.signup-title.center-title {
text-align: center;
margin-bottom: 32px;
width: 100%;
font-size: 2.1rem;
font-weight: 800;
letter-spacing: 1px;
color: #23395d;
text-shadow: 0 2px 8px #0008;
animation: logoGlow 3.5s ease-in-out infinite alternate;
}
@keyframes logoGlow {
0% {
text-shadow: 0 2px 8px #0008, 0 0 12px #38bdf8, 0 0 6px #13bfa6;
}
100% {
text-shadow: 0 2px 8px #0008, 0 0 32px #38bdf8, 0 0 18px #13bfa6;
}
}
.create-form {
width: 100%;
max-width: 510px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px 15px;
align-items: start;
margin-bottom: 14px;
}
.terms-info {
color: #137ec4;
font-size: 1.08rem;
font-weight: 600;
text-align: left;
margin: 12px 0 0 0;
letter-spacing: 0.5px;
display: block;
}
.form-row {
display: contents;
}
.form-field {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
}
.form-field label {
font-size: 1.05rem;
font-weight: 700;
color: #23395d;
}
.form-field input,
.form-field select {
background: #fff;
color: #23395d;
border: none;
border-radius: 8px;
padding: 12px 14px;
font-size: 1rem;
margin-bottom: 2px;
box-shadow: 0 1px 4px #0002;
transition: border 0.2s, box-shadow 0.2s;
width: 100%;
min-width: 0;
max-width: 100%;
height: 46px;
box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus {
outline: 2px solid #1de9b6;
border-color: #1de9b6;
box-shadow: 0 0 6px rgba(56, 189, 248, 0.5), 0 0 0 2px #1de9b688;
}
.form-field input::placeholder {
color: #b0b8c1;
opacity: 1;
}
.form-checkbox {
grid-column: 1 / -1;
display: flex;
gap: 10px;
align-items: center;
color: #2b5160;
margin-top: 8px;
}
.form-checkbox input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: #38bdf8;
}
.create-btn {
grid-column: 1 / -1;
width: 100%;
background: #23395d;
color: #fff;
padding: 14px 18px;
border-radius: 10px;
font-weight: 800;
border: none;
box-shadow: 0 10px 30px rgba(3, 20, 36, 0.32);
cursor: pointer;
font-size: 1.15rem;
margin-top: 10px;
}
.create-btn:hover {
background: #38bdf8;
color: #fff;
}
.create-footer {
grid-column: 1 / -1;
text-align: center;
color: #010207;
font-size: 0.9rem;
margin-top: 4vw;
}
.form-field .error {
color: #ff5252;
font-size: 0.85rem;
margin-top: 0px;
}
.signin-close {
position: absolute;
top: 5px;
right: 5px;
width: 38px;
height: 38px;
border: none;
background: #14263c;
color: #fff;
border-radius: 50%;
font-size: 2rem;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
transition: background 0.2s, color 0.2s;
box-shadow: 0 2px 8px #0005;
}
.signin-close:hover {
background: #38bdf8;
color: #18314a;
}
.form-field .eye-toggle {
position: absolute;
right: 12px;
top: 38px;
background: none;
border: none;
font-size: 1.3em;
color: #888;
cursor: pointer;
z-index: 2;
padding: 0;
line-height: 1;
opacity: 0.9;
transition: color 0.2s, opacity 0.2s;
}
.form-field .eye-toggle:hover {
color: #555;
opacity: 1;
}
.form-field .eye-toggle:focus {
outline: none;
}
.spinner {
display: inline-block;
width: 18px;
height: 18px;
border: 3px solid #fff;
border-top: 3px solid #38bdf8;
border-radius: 50%;
animation: spin 0.7s linear infinite;
vertical-align: middle;
margin-right: 8px;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}