﻿/* ========================================================= */
/* FINAL MODERN PORTAL DASHBOARD CSS */
/* ========================================================= */


/* ========================================================= */
/* PAGE LAYOUT */
/* ========================================================= */

.container {
    max-width: 1600px;
    margin: auto;
    padding: 20px;
    background: #f5f7fb;
}

.portal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(to bottom right, #ccffff 0%, #ccccff 100%);
    /*background: linear-gradient(to top left, #66ffff 0%, #ccccff 100%);*/
    border-left: 5px solid #66b3e6;
    border-radius: 10px;
    padding: 15px 15px;
}


/* ========================================================= */
/* CLUSTER CONTAINERS */
/* ========================================================= */

.portal-cluster {
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid transparent;
}



/* ========================================================= */
/* CLUSTER TITLES */
/* ========================================================= */

.cluster-title {
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Segoe UI';
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    margin-left: 5px;
}


/* ========================================================= */
/* HR CLUSTER */
/* ========================================================= */
.hr-cluster {
    width: 100%;
    max-width: 1155px;
    background: linear-gradient(135deg,#e8f2ff,#dcecff);
    border-color: #bfdcff;
}

    .hr-cluster .cluster-title {
        color: #2563eb;
    }


/* ========================================================= */
/* DELIVERY CLUSTER */
/* ========================================================= */

.delivery-cluster {
    display: flex;
    gap: 20px;
    flex: 3;
    background: linear-gradient(135deg,#effdeb,#dcfce7);
    border-color: #bbf7d0;
}

    .delivery-cluster .cluster-title {
        color: #15803d;
    }


/* ========================================================= */
/* LEARNING CLUSTER */
/* ========================================================= */

.learning-cluster {
    display: flex;
    gap: 20px;
    flex: 3;
    background: linear-gradient(135deg,#fff1f7,#fde7f3);
    border-color: #fbcfe8;
}


    .learning-cluster .cluster-title {
        color: #be185d;
    }


/* ========================================================= */
/* TECH CLUSTER */
/* ========================================================= */
.tech-cluster {
    width: 475px;
    background: linear-gradient(135deg,#fff8e8,#ffedd5);
    border-color: #fed7aa;
}

    .tech-cluster .cluster-title {
        color: #c2410c;
    }


/* ========================================================= */
/* ALL CARDS */
/* ========================================================= */

.CHRIS,
.CCONF,
.CLMS,
.CQMS,
.CRPAM,
.CTIMESHEET,
.SKILL,
.CPURCHASE,
.CASSET,
.CPAP,
.CPREJOINNE,
.CATS {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    height: 200px;
    background: #F2F3F4 !important;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
    padding: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05), 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


    /* ========================================================= */
    /* CARD HOVER */
    /* ========================================================= */

    .CHRIS:hover,
    .CCONF:hover,
    .CLMS:hover,
    .CQMS:hover,
    .CRPAM:hover,
    .CTIMESHEET:hover,
    .SKILL:hover,
    .CPURCHASE:hover,
    .CASSET:hover,
    .CPAP:hover,
    .CPREJOINNE:hover,
    .CATS:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 30px rgba(0,0,0,0.10), 0 6px 12px rgba(0,0,0,0.05);
    }


    /* ========================================================= */
    /* CARD LINKS */
    /* ========================================================= */

    .CHRIS a,
    .CCONF a,
    .CLMS a,
    .CQMS a,
    .CRPAM a,
    .CTIMESHEET a,
    .SKILL a,
    .CPURCHASE a,
    .CASSET a,
    .CPAP a,
    .CPREJOINNE a,
    .CATS a {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        text-decoration: none !important;
    }


/* ========================================================= */
/* ICONS */
/* ========================================================= */

.modern-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    border-radius: 18px;
    background: #eff6ff;
    font-size: 36px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    transition: transform 0.3s ease, background 0.3s ease;
}


/* ========================================================= */
/* ICON HOVER */
/* ========================================================= */

.CHRIS:hover .modern-icon,
.CCONF:hover .modern-icon,
.CLMS:hover .modern-icon,
.CQMS:hover .modern-icon,
.CRPAM:hover .modern-icon,
.CTIMESHEET:hover .modern-icon,
.SKILL:hover .modern-icon,
.CPURCHASE:hover .modern-icon,
.CASSET:hover .modern-icon,
.CPAP:hover .modern-icon,
.CPREJOINNE:hover .modern-icon,
.CATS:hover .modern-icon {
    transform: scale(1.08);
    background: #dbeafe;
}


/* ========================================================= */
/* TITLES */
/* ========================================================= */

.bash-text-1 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    text-align: center;
    margin-bottom: 10px;
}


/* ========================================================= */
/* DESCRIPTION */
/* ========================================================= */

.bash-text-2 {
    font-size: 12px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    text-align: center;
    flex: 1;
}


/* ========================================================= */
/* ARROW */
/* ========================================================= */

.arrow-icon,
.CHRIS img:last-child,
.CCONF img:last-child,
.CLMS img:last-child,
.CQMS img:last-child,
.CRPAM img:last-child,
.CTIMESHEET img:last-child,
.SKILL img:last-child,
.CPURCHASE img:last-child,
.CASSET img:last-child,
.CPAP img:last-child,
.CPREJOINNE img:last-child,
.CATS img:last-child {
    width: 22px;
    height: 22px;
    opacity: 0.5;
    transition: opacity 0.25s ease, transform 0.25s ease;
}


/* ========================================================= */
/* ARROW HOVER */
/* ========================================================= */

.CHRIS:hover img:last-child,
.CCONF:hover img:last-child,
.CLMS:hover img:last-child,
.CQMS:hover img:last-child,
.CRPAM:hover img:last-child,
.CTIMESHEET:hover img:last-child,
.SKILL:hover img:last-child,
.CPURCHASE:hover img:last-child,
.CASSET:hover img:last-child,
.CPAP:hover img:last-child,
.CPREJOINNE:hover img:last-child,
.CATS:hover img:last-child {
    opacity: 1;
    transform: translateX(3px);
}


/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media screen and (max-width: 1000px) {

    .portal-cluster {
        justify-content: flex-start;
    }

    .CHRIS,
    .CCONF,
    .CLMS,
    .CQMS,
    .CRPAM,
    .CTIMESHEET,
    .SKILL,
    .CPURCHASE,
    .CASSET,
    .CPAP,
    .CPREJOINNE,
    .CATS {
        width: calc(50% - 12px);
        min-width: unset;
        max-width: unset;
    }
}


@media screen and (max-width: 700px) {

    .cluster-title {
        font-size: 22px;
        margin-left: 10px;
    }

    .CHRIS,
    .CCONF,
    .CLMS,
    .CQMS,
    .CRPAM,
    .CTIMESHEET,
    .SKILL,
    .CPURCHASE,
    .CASSET,
    .CPAP,
    .CPREJOINNE,
    .CATS {
        width: 100%;
    }
}

.warning-icon {
    color: #f59e0b;
    font-size: 14px;
    margin-right: 5px;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */


.footer {
    text-align: center;
    margin-top: 5px;
    padding: 10px;
    color: #777;
}

/* Associate */

.associate-panel {
    background: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

    .associate-panel select {
        padding: 5px 8px;
        min-width: 200px;
    }

/* Announcement */

.announcement {
    background: #ccf2ff;
    /*background: linear-gradient(to top left, #66ffff 0%, #ccccff 100%);*/
    border-left: 5px solid #66b3e6;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

    .announcement a {
        font-weight: 600;
        text-decoration: none;
    }




/* Action */

.action {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

    .action a {
        font-weight: 600;
        text-decoration: none;
    }
