File: /home/storage/5/78/dd/wicomm2/public_html/blackfriday/assets/css/modal.css
.modal-container.active {
display: flex !important;
}
.modal-overlay {
position: fixed;
z-index: 11;
background: rgba(0, 0, 0, 0.4);
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.modal {
display: flex;
flex-direction: column;
gap: 24px;
position: fixed;
z-index: 100;
top: 0;
bottom: 0;
left: 0;
right: 0;
max-width: 720px;
height: fit-content;
margin: auto;
border-radius: 10px;
background: #080C14;
border: 1px solid #39393F;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.modal-loading {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
}
.loading {
width: 32px;
height: 32px;
border-radius: 50%;
border: 6px solid #ff6d00;
border-top: 6px solid transparent;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.modal-card-header {
padding: 24px 24px 0;
}
.question-counter {
margin: 0;
font-size: 16px;
color: #ff8904;
font-weight: 700;
}
.status {
margin: 0;
font-size: 14px;
color: #99a1af;
}
.progress-container {
width: 100%;
background: #1e2939;
height: 8px;
margin: 24px 0 32px;
overflow: hidden;
border-radius: 20px;
}
.progress-bar {
height: 100%;
/*background: #030213;*/
background: linear-gradient(75.4deg, #ff6d00 2.73%, #ec1850 97.95%);
width: 0%;
transition: width 0.3s ease;
border-radius: 20px;
}
.question {
color: #fff;
font-size: 30px;
line-height: 37.5px;
}
.modal-card-footer {
padding: 0 24px 24px;
display: flex;
flex-direction: column;
gap: 48px;
}
.options {
margin: 0;
display: flex;
flex-direction: column;
gap: 24px;
}
.double-text-block {
cursor: pointer;
display: flex;
flex-direction: column;
gap: 16px;
padding: 16px;
border: 1px solid #364153;
border-radius: 10px;
font-size: 14px;
color: #d1d5dc;
font-weight: 700;
transition: 0.4s;
}
.options .double-text-block .double-label {
padding: 0;
border: none;
background: transparent;
}
.double-input {
height: 42px;
border: none;
border-radius: 8px;
background: #3d4653;
outline: none;
padding: 0 16px;
color: #bfbfbf;
font-family: Poppins;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.56px;
}
.double-input::placeholder {
color: #bfbfbf;
}
.options label {
cursor: pointer;
display: flex;
align-items: center;
gap: 16px;
padding: 16px;
border: 1px solid #364153;
border-radius: 10px;
font-size: 14px;
color: #d1d5dc;
font-weight: 700;
transition: 0.4s;
}
.options label b {
color: #ff8904;
font-weight: 700;
}
.options input[type="radio"] {
width: 16px;
height: 16px;
border-radius: 50%;
margin: 0;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
border: 1px solid #364153;
position: relative;
cursor: pointer;
aspect-ratio: 1;
}
.options label:hover {
background: #36415361;
border: 1px solid #ff8904;
}
/*
.options input[type="radio"]:checked {
border: 1px solid #ff8904;
}
*/
.options input[type="radio"]:checked::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 6px;
height: 6px;
border: 1px solid #ff8904;
/*background: #ff8904;*/
border-radius: 50%;
transform: translate(-50%, -50%);
}
.buttons {
display: flex;
justify-content: space-between;
}
.buttons button {
padding: 10px 20px;
border: none;
background: #4caf50;
color: #fff;
border-radius: 5px;
cursor: pointer;
}
.modal-header {
display: flex;
justify-content: space-between;
}
.prev-button {
color: #d1d5dc;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
border-radius: 8px;
background: #1e2939;
border: 1px solid #4a5565;
width: 116px;
height: 36px;
transition: 0.4s;
cursor: pointer;
}
.prev-button:hover {
background: #1e2939;
border: 1px solid #4a5565;
}
.prev-button:has(#prev-btn:disabled) {
opacity: 0.8;
cursor: default;
}
.prev-button svg {
width: 16px;
height: 16px;
}
.buttons button {
color: #d1d5dc;
background: transparent;
padding: 0;
border: none;
}
.next-button {
color: #fff;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
border-radius: 8px;
background: #fff;
width: 116px;
height: 36px;
background: linear-gradient(to right, #f97316, #dc2626);
transition: 0.4s;
cursor: pointer;
}
.buttons .next-button button {
color: #fff;
}
.next-button:hover {
filter: brightness(0.8);
}
.options textarea {
border: 1px solid #364153;
background: transparent;
outline: none;
border-radius: 8px;
padding: 16px;
resize: vertical;
color: #d1d5dc;
}
.modal-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 24px;
padding: 48px 163px 69px 162px;
}
.modal-title {
margin: 0;
color: #f5f5f5;
text-align: center;
font-family: Poppins;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 1.28px;
}
.modal-title b {
color: #ff6d00;
}
.modal-subtitle {
margin: 0;
color: #f0f0f0;
text-align: center;
font-family: Poppins;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.96px;
}
.modal-subtitle b {
color: #b41b1d;
}
.modal-description {
margin: 0;
color: #f0f0f0;
text-align: center;
font-family: Poppins;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.72px;
}
.modal-actions {
display: flex;
flex-direction: column;
gap: 24px;
}
button.btn.btn-primary {
display: flex;
align-items: center;
justify-content: center;
width: 369px;
height: 42px;
border-radius: 8px;
background: linear-gradient(75deg, #ff6d00 2.73%, #ec1850 97.95%);
color: #fff;
text-align: center;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 150%;
letter-spacing: 0.64px;
border: none;
cursor: pointer;
}
button.btn.btn-secondary {
display: flex;
align-items: center;
justify-content: center;
width: 369px;
border: none;
background: transparent;
color: #d9d9d9;
text-align: center;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 150%;
letter-spacing: 0.64px;
text-decoration: underline;
cursor: pointer;
}
.finish-modal-loading {
position: fixed;
z-index: 101;
top: 0;
bottom: 0;
left: 0;
right: 0;
max-width: 720px;
height: fit-content;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 16px;
border: 2px solid #39393f;
background: #080c14;
padding: 72px 52px 124px 52px;
}
.finish-loading img {
width: 103px;
height: 103px;
}
.loading-message {
margin: 32px 0 0;
color: #F5F5F5;
text-align: center;
font-family: Poppins;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 150%;
letter-spacing: 0.96px;
}
.loading-subtitle {
margin: 24px 0 16px;
color:#F0F0F0;
text-align: center;
font-family: Poppins;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.72px;
}
.loading-tip {
margin: 0;
color: #FF6D00;
text-align: center;
font-family: Poppins;
font-size: 18px;
font-style: italic;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.72px;
}
@media (max-width: 1080px) {
.modal,
.finish-modal-loading {
max-width: calc(100% - 32px);
}
.finish-modal-loading {
padding: 56px 16px 127px 16px;
}
.finish-loading img {
width: 56px;
height: 56px;
}
.loading-message {
color:#F5F5F5;
text-align: center;
font-family: Poppins;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 150%;
letter-spacing: 0.8px;
}
.loading-subtitle {
margin: 24px 0;
color:#F0F0F0;
text-align: center;
font-family: Poppins;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.56px;
}
.loading-tip {
color:#FF6D00;
text-align: center;
font-family: Poppins;
font-size: 16px;
font-style: italic;
font-weight: 400;
line-height: 150%;
letter-spacing: 0.64px;
}
.question {
font-size: 24px;
}
.modal-card-header {
padding: 24px 24px 12px;
}
.options label {
gap: 12px;
font-size: 12px;
}
.modal-box {
padding: 40px 16px;
}
.modal-title {
font-size: 24px;
}
.modal-subtitle {
font-size: 18px;
}
.modal-description {
font-size: 14px;
}
button.btn.btn-primary {
width: 224px;
height: 40px;
font-size: 14px;
}
button.btn.btn-secondary {
width: 224px;
font-size: 14px;
}
.modal-actions {
margin-top: 75px;
}
}