Spaces:
Sleeping
Sleeping
.modal-overlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background-color: rgba(0, 0, 0, 0.7); | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
z-index: 1000; | |
} | |
.modal-content { | |
background: rgba(99, 102, 241, 0.05); | |
backdrop-filter: blur(10px); | |
padding: 2rem; | |
border-radius: 12px; | |
width: 90%; | |
max-width: 400px; | |
position: relative; | |
color: white; | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.modal-close { | |
position: absolute; | |
top: 1rem; | |
right: 1rem; | |
background: none; | |
border: none; | |
font-size: 1.5rem; | |
color: white; | |
cursor: pointer; | |
padding: 0.5rem; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
width: 32px; | |
height: 32px; | |
border-radius: 50%; | |
transition: background-color 0.3s ease; | |
} | |
.modal-close:hover { | |
background-color: rgba(255, 255, 255, 0.1); | |
} | |
.modal-content h2 { | |
margin-bottom: 1.5rem; | |
font-size: 1.75rem; | |
text-align: center; | |
} | |
.user-info { | |
display: flex; | |
flex-direction: column; | |
gap: 1rem; | |
} | |
.user-info p { | |
margin: 0; | |
font-size: 1rem; | |
} | |
.form-group { | |
display: flex; | |
flex-direction: column; | |
gap: 0.5rem; | |
} | |
.form-group label { | |
font-size: 0.9rem; | |
color: rgba(255, 255, 255, 0.8); | |
} | |
.form-group input { | |
width: 100%; | |
padding: 0.5rem; | |
border: 1px solid rgba(255, 255, 255, 0.2); | |
border-radius: 8px; | |
background: rgba(255, 255, 255, 0.05); | |
color: white; | |
font-size: 0.9rem; | |
} | |
.update-btn { | |
width: 100%; | |
padding: 0.5rem; | |
border: none; | |
border-radius: 8px; | |
background: #6366f1; | |
color: white; | |
font-size: 0.9rem; | |
font-weight: 600; | |
cursor: pointer; | |
transition: all 0.3s ease; | |
margin-top: 1rem; | |
} | |
.update-btn:hover { | |
background: #4f46e5; | |
transform: translateY(-1px); | |
} | |
.message { | |
text-align: center; | |
padding: 0.5rem; | |
border-radius: 4px; | |
font-size: 0.9rem; | |
margin-top: 1rem; | |
} | |
.light .modal-content { | |
background: rgba(255, 255, 255, 0.9); | |
color: black; | |
} | |
.light .modal-close { | |
color: black; | |
} | |
.light .form-group label { | |
color: rgba(0, 0, 0, 0.8); | |
} | |
.light .form-group input { | |
background: rgba(0, 0, 0, 0.05); | |
border-color: rgba(0, 0, 0, 0.1); | |
color: black; | |
} |