Spaces:
Running
Running
.ios-modal-overlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background-color: rgba(0, 0, 0, 0.5); | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
z-index: 1000; | |
} | |
.ios-modal { | |
background: white; | |
padding: 2rem; | |
border-radius: 8px; | |
max-width: 90%; | |
width: 400px; | |
text-align: center; | |
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
h2 { | |
margin-top: 0; | |
color: #333; | |
} | |
p { | |
margin: 1rem 0; | |
color: #666; | |
line-height: 1.5; | |
&.error-message { | |
color: var(--Red-500); | |
background-color: rgba(255, 0, 0, 0.1); | |
padding: 8px; | |
border-radius: 4px; | |
margin: 1rem -8px; | |
font-weight: 500; | |
} | |
} | |
} | |
.ios-modal-button { | |
background-color: #007AFF; | |
color: white; | |
border: none; | |
padding: 0.8rem 2rem; | |
border-radius: 6px; | |
font-size: 1rem; | |
cursor: pointer; | |
margin-top: 1rem; | |
&:hover { | |
background-color: #0056b3; | |
} | |
} |