Veda / static /css /register.css
sumit1901's picture
Upload 139 files
59d9f71 verified
Raw History Blame Contribute Delete
5.13 kB
body {
background: #EDF5E1;
color:#056b64;
min-height: 100vh;
padding-top: 100px;
font-family: 'Inter', sans-serif;
}
/* ================= HEADER ================= */
header {
margin: 80px auto 20px;
padding: 16px 22px;
width: 100%;
background: #f9f9f9 !important;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 4, 2, 0.507);
display: flex;
justify-content: space-between;
align-items: center;
}
.header-left {
display: flex;
align-items: center;
gap: 14px;
}
.header-left img {
width: 48px;
height: 48px;
border-radius: 50%;
}
.header-left .title {
font-size: 18px;
font-weight: 600;
}
.header-left .subtitle {
font-size: 12px;
color: #379683;
}
.header-right img {
width: 40px;
height: 40px;
border-radius: 50%;
}
/* ================= AUTH / LOGIN ================= */
.login-container,
.auth-container {
max-width: 700px;
margin: 30px auto;
background: rgba(255,255,255,0.75);
backdrop-filter: blur(14px);
padding: 28px 24px;
border-radius: 14px;
border: 1.5px solid rgba(5,56,107,0.25);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.498);
}
.login-container h2,
.auth-container h2 {
text-align: center;
margin-bottom: 22px;
}
.login-container label,
.auth-container label {
display: block;
margin-bottom: 6px;
font-size: 14px;
}
.login-container input,
.auth-container input,
.auth-container select {
width: 100%;
padding: 10px;
margin-bottom: 16px;
border-radius: 8px;
border: 1px solid rgba(5,56,107,0.35);
}
.login-container button,
.auth-container button {
width: 100%;
padding: 11px;
background: #056b64;
color: #EDF5E1;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
}
.login-container button:hover,
.auth-container button:hover {
background: #379683;
}
.login-container p,
.auth-container p {
text-align: center;
margin-top: 18px;
font-size: 13px;
}
.login-container a,
.auth-container a {
color: #056b64;
font-weight: 600;
text-decoration: none;
}
.login-container a:hover,
.auth-container a:hover {
text-decoration: underline;
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
header {
margin: 90px 12px 20px;
}
.auth-container,
.login-container {
margin: 20px 12px;
}
}
/* ===== FLOATING LABEL INPUT (REGISTER – SAME AS LOGIN) ===== */
.auth-container .input-group {
position: relative;
margin-bottom: 18px;
}
.auth-container .input {
width: 100%;
border: solid 1.5px #9e9e9e;
border-radius: 1rem;
background: none;
padding: 1rem;
font-size: 1rem;
color: #056b64;
transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}
.auth-container .user-label {
position: absolute;
left: 15px;
top: 0;
color: #6b7280;
pointer-events: none;
transform: translateY(1rem);
transition: 150ms cubic-bezier(0.4,0,0.2,1);
background: rgba(255,255,255,0.9);
padding: 0 .25em;
}
.auth-container .input:focus,
.auth-container .input:valid {
outline: none;
border: 1.5px solid #056b64;
}
.auth-container .input:focus ~ .user-label,
.auth-container .input:valid ~ .user-label {
transform: translateY(-50%) scale(0.8);
color: #056b64;
}
/* Dropdown arrow fix */
.auth-container select.input {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2305386B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
background-size: 14px;
}
/* Hide sections by default */
.hidden {
display: none;
}
/* ================= NEW PILL SELECTION STYLES ================= */
.pill-group {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding-top: 5px;
}
/* Hide the actual ugly checkbox */
.pill-group input[type="checkbox"] {
display: none;
}
/* Style the label to look like a button/pill */
.pill-group label {
background-color: white;
border: 1.5px solid #05386B;
color: #05386B;
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
user-select: none; /* Prevents text highlighting */
font-weight: 500;
margin-bottom: 0; /* Reset generic label margin */
}
/* HOVER STATE */
.pill-group label:hover {
background-color: #EDF5E1;
}
/* CHECKED STATE (The Magic) */
.pill-group input[type="checkbox"]:checked + label {
background-color: #05386B;
color: #EDF5E1;
box-shadow: 0 4px 6px rgba(5, 56, 107, 0.3);
transform: translateY(-1px);
}
/* Static Label for Pill Container */
.static-label {
position: absolute;
left: 0;
top: -5px;
background: transparent;
color: #05386B;
font-weight: 600;
font-size: 0.9rem;
padding-left: 5px;
}