master-brain-api / static /css /profile.css
Dilip8756's picture
Upload 100 files
58c1398 verified
/* Profile Page Styles - Aadhaar Pro */
.profile-container {
/* max-width: 1100px; */
margin: 0 auto;
display: grid;
grid-template-columns: 320px 1fr;
gap: 30px;
}
/* Left Card: Summary */
.profile-side-card {
background: var(--card-bg);
padding: 40px 25px;
border-radius: 24px;
border: 1px solid var(--border-color);
text-align: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.avatar-wrapper {
width: 120px;
height: 120px;
border-radius: 50%;
background: var(--bg-color);
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
color: var(--primary-color);
border: 4px solid var(--primary-color);
box-shadow: 0 0 20px rgba(67, 97, 238, 0.1);
}
.profile-side-card h2 {
font-size: 1.25rem;
margin-bottom: 5px;
}
.role-badge {
color: var(--primary-color);
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
display: block;
margin-bottom: 25px;
}
.info-divider {
height: 1px;
background: var(--border-color);
margin-bottom: 25px;
}
.side-info-list {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
}
.side-info-list li {
display: flex;
gap: 15px;
margin-bottom: 15px;
font-size: 0.85rem;
color: var(--text-muted);
}
.side-info-list li i {
width: 18px;
color: var(--primary-color);
opacity: 0.8;
}
/* Right Card: Edit Form */
.profile-edit-card {
background: var(--card-bg);
padding: 40px;
border-radius: 24px;
border: 1px solid var(--border-color);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.profile-edit-card h3 {
font-size: 1.2rem;
margin-bottom: 30px;
display: flex;
align-items: center;
gap: 12px;
}
.profile-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
}
/* Form Group & Labels */
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--text-color);
font-size: 0.95rem;
}
/* Premium Inputs */
.input-control {
width: 100%;
padding: 16px 20px;
border-radius: 14px;
border: 1px solid var(--border-color);
background: var(--bg-color);
color: var(--text-color);
font-family: 'Outfit', sans-serif;
font-size: 1.05rem;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
box-sizing: border-box;
outline: none;
}
.input-control:hover {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px var(--shadow-primary-light);
}
.input-control:focus {
border-color: var(--primary-color);
background: var(--card-bg);
box-shadow: 0 0 0 4px var(--shadow-primary-medium);
transform: translateY(-1px);
}
textarea.input-control {
resize: vertical;
min-height: 100px;
}
/* Readonly Inputs */
.input-control:disabled {
background: var(--bg-color);
cursor: not-allowed;
opacity: 0.6;
border-color: rgba(0, 0, 0, 0.05);
}
[data-theme='dark'] .input-control:disabled {
background: var(--card-bg);
border-color: rgba(255, 255, 255, 0.05);
}
/* Form Actions & Premium Buttons */
.form-actions {
margin-top: 40px;
display: flex;
gap: 15px;
}
.btn-profile {
height: 52px;
border-radius: 14px;
font-family: 'Outfit', sans-serif;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
padding: 0 30px;
position: relative;
overflow: hidden;
}
.btn-profile.primary {
background: var(--primary-gradient);
color: #fff;
border: none;
box-shadow: 0 8px 20px var(--shadow-primary-light);
}
.btn-profile.primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.btn-profile.primary:hover::before {
left: 100%;
}
.btn-profile.primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px var(--shadow-primary-medium);
}
.btn-profile.secondary {
background: transparent;
color: var(--text-color);
border: 1px solid var(--border-color);
}
.btn-profile.secondary:hover {
border-color: var(--primary-color);
color: var(--primary-color);
background: var(--shadow-primary-light);
transform: translateY(-2px);
box-shadow: 0 5px 15px var(--shadow-light);
}
/* Responsive */
@media (max-width: 900px) {
.profile-container {
grid-template-columns: 1fr;
}
.profile-form-grid {
grid-template-columns: 1fr;
}
}