
.zohamoffice-dashboard{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;
    gap:22px;
    width:100%;
    margin:15px 0;
}
.zohamoffice-card{
    min-height:210px;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    display:block;
    text-decoration:none!important;
    color:#fff!important;
    box-shadow:0 12px 28px rgba(27,39,52,.12);
    transition:transform .25s ease,box-shadow .25s ease;
}
.zohamoffice-card:nth-child(8n+1){background:linear-gradient(135deg,#176B87,#64CCC5)}
.zohamoffice-card:nth-child(8n+2){background:linear-gradient(135deg,#5936B8,#A678FF)}
.zohamoffice-card:nth-child(8n+3){background:linear-gradient(135deg,#C94B4B,#F7B733)}
.zohamoffice-card:nth-child(8n+4){background:linear-gradient(135deg,#00856F,#69C27D)}
.zohamoffice-card:nth-child(8n+5){background:linear-gradient(135deg,#304352,#D7D2CC)}
.zohamoffice-card:nth-child(8n+6){background:linear-gradient(135deg,#A73737,#7A2828)}
.zohamoffice-card:nth-child(8n+7){background:linear-gradient(135deg,#355C7D,#6C5B7B,#C06C84)}
.zohamoffice-card:nth-child(8n+8){background:linear-gradient(135deg,#11998E,#38EF7D)}
.zohamoffice-card:hover{
    transform:translateY(-7px) scale(1.01);
    box-shadow:0 20px 42px rgba(27,39,52,.22);
}
.zohamoffice-card:before{
    content:"";
    position:absolute;
    width:150px;height:150px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    right:-45px;top:-55px;
}
.zohamoffice-card:after{
    content:"";
    position:absolute;
    width:95px;height:95px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.18);
    left:-38px;bottom:-38px;
}
.zohamoffice-card-inner{
    height:100%;
    min-height:210px;
    box-sizing:border-box;
    padding:26px;
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.zohamoffice-link-icon{
    width:48px;height:48px;
    border-radius:15px;
    background:rgba(255,255,255,.19);
    border:1px solid rgba(255,255,255,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:27px;
    font-weight:400;
}
.zohamoffice-name{
    font-size:21px;
    line-height:1.25;
    font-weight:700;
    overflow-wrap:anywhere;
    text-shadow:0 1px 2px rgba(0,0,0,.08);
}
.zohamoffice-open{
    font-size:13px;
    font-weight:600;
    letter-spacing:.3px;
    opacity:.88;
}
.zohamoffice-empty{
    padding:25px;
    border-radius:18px;
    background:#f4f6f7;
}
.zohamoffice-login-wrap{
    display:flex;
    justify-content:center;
    padding:40px 15px;
}
.zohamoffice-login-card{
    width:100%;
    max-width:430px;
    padding:42px 38px;
    box-sizing:border-box;
    border-radius:28px;
    background:linear-gradient(145deg,#123047,#1d6070);
    color:#fff;
    text-align:center;
    box-shadow:0 18px 45px rgba(17,48,71,.2);
}
.zohamoffice-login-logo{
    width:62px;height:62px;
    margin:0 auto 17px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:800;
    letter-spacing:1px;
    background:linear-gradient(135deg,#B7E25A,#63C7B2);
    color:#173344;
}
.zohamoffice-login-card h2{color:#fff;margin:0 0 8px;font-size:28px}
.zohamoffice-login-card p{opacity:.8;margin:0 0 25px}
.zohamoffice-login-card input{
    width:100%;
    box-sizing:border-box;
    padding:15px 17px;
    border:0;
    border-radius:13px;
    margin-bottom:12px;
    font-size:15px;
    background:#fff;
}
.zohamoffice-login-card button{
    width:100%;
    padding:15px 17px;
    border:0;
    border-radius:13px;
    cursor:pointer;
    font-weight:700;
    font-size:15px;
    background:linear-gradient(135deg,#B7E25A,#74D3A9);
    color:#173344;
}
.zohamoffice-error{
    padding:10px 13px;
    margin:0 0 15px;
    border-radius:10px;
    background:rgba(235,87,87,.2);
    font-size:14px;
}
@media(max-width:1024px){
    .zohamoffice-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
    .zohamoffice-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
    .zohamoffice-card,.zohamoffice-card-inner{min-height:175px}
    .zohamoffice-card-inner{padding:19px}
    .zohamoffice-name{font-size:17px}
}
@media(max-width:430px){
    .zohamoffice-dashboard{grid-template-columns:1fr}
}

/* Ensure all cards remain visible and naturally create new rows */
.zohamoffice-dashboard > .zohamoffice-card{display:block!important;visibility:visible!important;max-width:none!important;}

/* Universal page-builder compatibility */
.zohamoffice-dashboard{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:auto!important;
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
}
.zohamoffice-dashboard .zohamoffice-card{
    display:block!important;
    position:relative!important;
    width:auto!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    visibility:visible!important;
    opacity:1!important;
}
@media(max-width:1024px){
    .zohamoffice-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
    .zohamoffice-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
    .zohamoffice-dashboard{grid-template-columns:1fr!important}
}
