Closes #10 Reviewed-on: phoenix/textsender#23 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
265 lines
4.6 KiB
CSS
265 lines
4.6 KiB
CSS
/* ViewContactWizard.module.css - Updated for aesthetics */
|
|
.modalOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: linear-gradient(
|
|
135deg,
|
|
rgba(15, 23, 42, 0.9) 0%,
|
|
rgba(30, 41, 59, 0.95) 100%
|
|
);
|
|
backdrop-filter: blur(10px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
padding: 20px;
|
|
animation: fadeInOverlay 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes fadeInOverlay {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.modal {
|
|
background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
|
|
border-radius: 24px;
|
|
box-shadow:
|
|
0 25px 50px -12px rgba(0, 0, 0, 0.25),
|
|
0 10px 40px -10px rgba(139, 92, 246, 0.2);
|
|
width: 100%;
|
|
max-width: 520px;
|
|
max-height: 85vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
overflow: hidden;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(40px) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.modalHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 28px 32px;
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
|
|
color: white;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modalHeader::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -50%;
|
|
width: 200px;
|
|
height: 200px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.modalHeader::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -30%;
|
|
left: -10%;
|
|
width: 150px;
|
|
height: 150px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.modalTitle {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
letter-spacing: -0.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modalTitle::before {
|
|
content: '📱';
|
|
font-size: 24px;
|
|
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
|
|
}
|
|
|
|
.closeButton {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border: none;
|
|
font-size: 28px;
|
|
color: white;
|
|
cursor: pointer;
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
z-index: 1;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.closeButton:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.closeButton:active {
|
|
transform: rotate(90deg) scale(0.95);
|
|
}
|
|
|
|
.modalBody {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #cbd5e1 transparent;
|
|
}
|
|
|
|
.modalBody::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.modalBody::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.modalBody::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.modalFooter {
|
|
background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
|
|
border-top: 1px solid #e2e8f0;
|
|
position: relative;
|
|
}
|
|
|
|
/* Step Indicator */
|
|
.stepIndicator {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 20px 32px 0;
|
|
}
|
|
|
|
.stepDot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #cbd5e1;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.stepDot.active {
|
|
width: 24px;
|
|
background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.stepDot.completed {
|
|
background: #10b981;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 480px) {
|
|
.modal {
|
|
max-height: 90vh;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.modalHeader {
|
|
padding: 24px;
|
|
}
|
|
|
|
.modalTitle {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.closeButton {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
/* Result Step specific styles */
|
|
.resultStep {
|
|
padding: 48px 32px;
|
|
text-align: center;
|
|
animation: fadeIn 0.6s ease-out;
|
|
}
|
|
|
|
.successIcon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
|
|
color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 40px;
|
|
margin: 0 auto 28px;
|
|
box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
|
|
animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
}
|
|
|
|
@keyframes bounceIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(0.3);
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
transform: scale(1.05);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.resultTitle {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #1f2937;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.resultMessage {
|
|
color: #64748b;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
max-width: 320px;
|
|
margin: 0 auto;
|
|
background: #f8fafc;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|