.workscout-account-bento,
.workscout-account-bento * {
box-sizing: border-box;
}
.workscout-account-bento {
--workscout-account-bento-accent: var(--workscout-primary-color, #26ae61);
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
width: 100%;
max-width: 1240px;
margin: 0 auto;
}
.workscout-account-bento__card {
position: relative;
display: flex;
min-width: 0;
min-height: 520px;
padding: 40px;
overflow: hidden;
border-radius: 12px;
background: #f4f4f4;
color: #111;
}
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .workscout-account-bento__card {
opacity: 0;
transform: translateY(24px);
}
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .workscout-account-bento__card.is-visible {
animation: workscout-account-bento-rise 700ms cubic-bezier(.22, .61, .25, 1) forwards;
}
.workscout-account-bento__card--owner.is-visible {
animation-delay: 110ms !important;
}
.workscout-account-bento .workscout-account-bento__title {
position: relative;
z-index: 3;
margin: 0 !important;
font-size: 32px;
font-weight: 500;
line-height: 38px;
letter-spacing: -.4px;
}
.workscout-account-bento__title span {
color: var(--workscout-account-bento-accent);
}
.workscout-account-bento .workscout-account-bento__description {
position: absolute;
top: 90px;
left: 40px;
z-index: 3;
width: calc(100% - 80px);
max-width: 440px;
margin: 0 !important;
color: #555 !important;
font-size: 16px !important;
font-weight: 400;
line-height: 26px !important;
}
.workscout-account-bento__scene {
position: absolute;
right: 34px;
bottom: 30px;
width: 330px;
height: 240px;
pointer-events: none;
}
.workscout-account-bento__float {
position: absolute;
z-index: 1;
}
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .workscout-account-bento__float {
opacity: 0;
}
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .is-visible .workscout-account-bento__float {
animation: workscout-account-bento-chip 550ms cubic-bezier(.34, 1.56, .64, 1) forwards var(--delay, 250ms), workscout-account-bento-bob var(--bob, 6200ms) ease-in-out infinite calc(var(--delay, 250ms) + 800ms);
}
.workscout-account-bento__chip {
display: block;
background: #fff;
box-shadow: 0 12px 32px rgb(17 17 17 / 8%);
transition: transform 500ms cubic-bezier(.22, .61, .25, 1);
}
.workscout-account-bento__guest-listing {
top: 6px;
left: 34px;
--delay: 250ms;
--bob: 6400ms;
}
.workscout-account-bento__listing-card {
width: 178px;
padding: 10px;
border-radius: 12px;
transform: rotate(-3deg);
}
.workscout-account-bento .workscout-account-bento__listing-image {
display: block;
width: 100%;
height: 96px;
overflow: hidden;
border-radius: 10px;
object-fit: cover;
}
.workscout-account-bento__listing-card strong {
display: block;
margin-top: 9px;
overflow: hidden;
font-size: 14px;
font-weight: 500;
line-height: 20px;
text-overflow: ellipsis;
white-space: nowrap;
}
.workscout-account-bento__listing-meta {
display: flex;
align-items: center;
gap: 5px;
margin-top: 4px;
font-size: 14px;
font-weight: 500;
line-height: 18px;
}
.workscout-account-bento__listing-meta i {
color: #666;
font-style: normal;
font-weight: 400;
}
.workscout-account-bento__guest-heart {
top: 0;
left: 212px;
z-index: 2;
--delay: 450ms;
--bob: 5600ms;
}
.workscout-account-bento__heart {
display: grid;
width: 46px;
height: 46px;
border-radius: 50%;
place-items: center;
}
.workscout-account-bento__heart svg {
width: 20px;
height: 20px;
fill: var(--workscout-account-bento-accent);
}
.workscout-account-bento__guest-booked {
top: 182px;
left: 78px;
--delay: 650ms;
--bob: 7000ms;
}
.workscout-account-bento__status {
display: inline-flex;
align-items: center;
gap: 7px;
max-width: 270px;
padding: 9px 16px;
border-radius: 12px;
font-size: 14px;
font-weight: 500;
line-height: 20px;
white-space: nowrap;
}
.workscout-account-bento__status svg {
width: 14px;
height: 14px;
color: var(--workscout-account-bento-accent);
}
.workscout-account-bento__owner-stat {
top: 0;
left: 28px;
--delay: 250ms;
--bob: 6600ms;
}
.workscout-account-bento__stat {
width: 182px;
padding: 14px 17px;
border-radius: 12px;
transform: rotate(2deg);
}
.workscout-account-bento__stat-label,
.workscout-account-bento__stat small {
display: block;
color: #666;
font-size: 14px;
font-weight: 400;
line-height: 18px;
}
.workscout-account-bento__stat strong {
display: block;
margin-top: 6px;
font-size: 27px;
font-weight: 500;
line-height: 32px;
letter-spacing: -.3px;
}
.workscout-account-bento__stat small {
margin-top: 5px;
}
.workscout-account-bento__stat small b {
color: var(--workscout-account-bento-accent);
font-weight: 500;
}
.workscout-account-bento__owner-stars {
top: 92px;
left: 182px;
z-index: 2;
--delay: 450ms;
--bob: 5400ms;
}
.workscout-account-bento__stars {
padding: 8px 14px;
border-radius: 12px;
color: #ffb800;
font-size: 15px;
line-height: 20px;
letter-spacing: 2px;
transform: rotate(-5deg);
}
.workscout-account-bento__owner-notice {
top: 156px;
left: 60px;
--delay: 650ms;
--bob: 7200ms;
}
.workscout-account-bento__owner-notice .workscout-account-bento__status {
transform: rotate(-2deg);
}
.workscout-account-bento__owner-notice i {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--workscout-account-bento-accent);
animation: workscout-account-bento-pulse 1600ms ease infinite;
}
.workscout-account-bento__buttons {
position: absolute;
bottom: 40px;
left: 40px;
z-index: 4;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.elementor .workscout-account-bento a.workscout-account-bento__button,
.workscout-account-bento a.workscout-account-bento__button {
display: inline-flex;
align-items: center;
gap: 9px;
padding: 12px 22px;
border-radius: 6px;
box-shadow: none !important;
font-size: 15px;
font-weight: 500;
line-height: 20px;
text-decoration: none;
}
.elementor .workscout-account-bento a.workscout-account-bento__button:hover,
.elementor .workscout-account-bento a.workscout-account-bento__button:focus,
.workscout-account-bento a.workscout-account-bento__button:hover,
.workscout-account-bento a.workscout-account-bento__button:focus {
box-shadow: none !important;
text-decoration: none;
}
.workscout-account-bento__button svg {
width: 15px;
height: 15px;
transition: transform 250ms ease;
}
.workscout-account-bento__button:hover svg,
.workscout-account-bento__button:focus svg {
transform: translateX(4px);
}
.elementor .workscout-account-bento a.workscout-account-bento__button--primary,
.elementor .workscout-account-bento a.workscout-account-bento__button--primary:hover,
.elementor .workscout-account-bento a.workscout-account-bento__button--primary:focus,
.workscout-account-bento a.workscout-account-bento__button--primary,
.workscout-account-bento a.workscout-account-bento__button--primary:hover,
.workscout-account-bento a.workscout-account-bento__button--primary:focus {
background: var(--workscout-account-bento-accent);
color: #fff;
}
.elementor .workscout-account-bento a.workscout-account-bento__button--secondary,
.workscout-account-bento a.workscout-account-bento__button--secondary {
border: 1px solid #d5d5d5;
background: transparent;
color: #111;
transition: border-color 250ms ease, color 250ms ease;
}
.elementor .workscout-account-bento a.workscout-account-bento__button--secondary:hover,
.elementor .workscout-account-bento a.workscout-account-bento__button--secondary:focus,
.workscout-account-bento a.workscout-account-bento__button--secondary:hover,
.workscout-account-bento a.workscout-account-bento__button--secondary:focus {
border-color: var(--workscout-account-bento-accent);
color: var(--workscout-account-bento-accent);
}
.workscout-account-bento__card:hover .workscout-account-bento__guest-listing .workscout-account-bento__chip {
transform: rotate(-5deg) translate(-6px, -2px);
}
.workscout-account-bento__card:hover .workscout-account-bento__guest-heart .workscout-account-bento__chip {
transform: translate(6px, -6px);
}
.workscout-account-bento__card:hover .workscout-account-bento__guest-booked .workscout-account-bento__chip {
transform: rotate(3deg) translate(4px, 6px);
}
.workscout-account-bento__card:hover .workscout-account-bento__owner-stat .workscout-account-bento__chip {
transform: rotate(4deg) translate(-4px, -4px);
}
.workscout-account-bento__card:hover .workscout-account-bento__owner-stars .workscout-account-bento__chip {
transform: rotate(-9deg) translate(6px, -4px);
}
.workscout-account-bento__card:hover .workscout-account-bento__owner-notice .workscout-account-bento__chip {
transform: rotate(-4deg) translate(2px, 8px);
}
@keyframes workscout-account-bento-rise {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes workscout-account-bento-chip {
from {
opacity: 0;
transform: scale(.5) translateY(10px);
}
to {
opacity: 1;
transform: none;
}
}
@keyframes workscout-account-bento-bob {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
@keyframes workscout-account-bento-pulse {
50% { opacity: .3; }
}
@media (max-width: 980px) {
.workscout-account-bento {
grid-template-columns: 1fr;
}
.workscout-account-bento__card {
min-height: 520px;
}
}
@media (max-width: 700px) {
.workscout-account-bento__card {
flex-direction: column;
padding: 30px 24px;
}
.workscout-account-bento .workscout-account-bento__title {
font-size: 28px;
line-height: 34px;
}
.workscout-account-bento .workscout-account-bento__description {
position: relative;
top: auto;
left: auto;
width: 100%;
max-width: none;
margin: 22px 0 0 !important;
}
.workscout-account-bento__scene {
position: relative;
top: auto;
right: auto;
bottom: auto;
left: 50%;
flex: 0 0 240px;
width: 330px;
max-width: none;
height: 240px;
margin: 28px 0 -48px;
transform: translateX(-50%) scale(.8);
transform-origin: top center;
}
.workscout-account-bento__buttons {
position: relative;
bottom: auto;
left: auto;
align-self: flex-start;
max-width: 100%;
margin-top: 16px;
}
}
@media (prefers-reduced-motion: reduce) {
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .workscout-account-bento__card,
.workscout-account-bento[data-workscout-account-bento-ready="yes"] .workscout-account-bento__float {
opacity: 1;
transform: none;
animation: none;
}
.workscout-account-bento__chip,
.workscout-account-bento__button svg,
.workscout-account-bento__owner-notice i {
transition: none;
animation: none;
}
}