.yayrev-qna-tab {
padding: 16px 0;
}
.yayrev-qna-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin-bottom: 24px;
flex-wrap: wrap;
}
.yayrev-qna-title {
margin: 0;
font-size: 1.25em;
} .yayrev-qna-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
}
.yayrev-qna-modal[aria-hidden="false"] {
display: flex;
}
.yayrev-qna-modal__overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
}
.yayrev-qna-modal__content {
position: relative;
background: #fff;
border-radius: 8px;
padding: 28px 24px;
max-width: 520px;
width: calc(100% - 32px);
max-height: 90vh;
overflow-y: auto;
z-index: 1;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.yayrev-qna-modal__content h3 {
margin: 0 0 20px;
font-size: 1.15em;
padding-right: 28px;
}
.yayrev-qna-modal__close {
position: absolute;
top: 14px;
right: 14px;
background: none;
border: none;
font-size: 1.5em;
line-height: 1;
cursor: pointer;
color: #888;
padding: 4px 6px;
border-radius: 4px;
transition: color 0.15s, background 0.15s;
}
.yayrev-qna-modal__close:hover {
color: #333;
background: #f0f0f0;
} .yayrev-qna-field {
margin-bottom: 16px;
}
.yayrev-qna-label {
display: block;
font-size: 0.88em;
font-weight: 600;
margin-bottom: 6px;
color: #333;
}
.yayrev-qna-input,
.yayrev-qna-textarea {
width: 100%;
box-sizing: border-box;
padding: 9px 12px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.95em;
line-height: 1.5;
color: #333;
transition: border-color 0.15s, box-shadow 0.15s;
background: #fff;
}
.yayrev-qna-input:focus,
.yayrev-qna-textarea:focus {
outline: none;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.yayrev-qna-textarea {
resize: vertical;
min-height: 100px;
} .yayrev-qna-field--checkbox {
margin-bottom: 12px;
}
.yayrev-qna-checkbox-label {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 0.88em;
color: #555;
cursor: pointer;
line-height: 1.4;
}
.yayrev-qna-checkbox-label input[type="checkbox"] {
margin-top: 2px;
flex-shrink: 0;
cursor: pointer;
} .yayrev-qna-hp-field {
position: absolute;
left: -9999px;
visibility: hidden;
pointer-events: none;
} .yayrev-qna-error {
display: none;
color: #dc2626;
font-size: 0.82em;
margin-top: 4px;
} .yayrev-qna-actions {
display: flex;
justify-content: flex-end;
margin-top: 8px;
} .yayrev-qna-success {
text-align: center;
padding: 32px 16px;
}
.yayrev-qna-success__icon {
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
border-radius: 50%;
background: #dcfce7;
color: #16a34a;
font-size: 1.6em;
margin: 0 auto 16px;
}
.yayrev-qna-success h4 {
margin: 0 0 8px;
font-size: 1.1em;
color: #111;
}
.yayrev-qna-success p {
color: #555;
font-size: 0.92em;
margin: 0 0 20px;
} @media (max-width: 480px) {
.yayrev-qna-modal__content {
padding: 20px 16px;
border-radius: 8px 8px 0 0;
max-height: 85vh;
}
.yayrev-qna-modal {
align-items: flex-end;
}
.yayrev-qna-modal[aria-hidden="false"] {
display: flex;
}
.yayrev-qna-header {
flex-direction: column;
align-items: flex-start;
}
}