69 lines
1.2 KiB
CSS
Raw Normal View History

2025-05-29 14:46:53 +05:30
.modalWrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
}
.modal {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
max-width: 100%;
}
.closeBtn {
background: none;
border: none;
font-size: 18px;
color: #333;
cursor: pointer;
position: absolute;
top: 10px;
right: 10px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
background-color: #4caf50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-right: 10px;
}
button:hover {
background-color: #45a049;
}
button:last-child {
background-color: #36bbf4;
}
button:last-child:hover {
background-color: #2f8cd3;
}