/* Launchpad Professional UI Styling */

/* Container styling for the Launchpad groups */
.launchpad-container {
    padding: 20px;
    background-color: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Styling for group headers */
.launchpad-group {
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.launchpad-group-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0078d4;
    display: inline-block;
}

/* Flex container for buttons within a group */
.launchpad-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/* Modern tile button styling */
.desktop-icon-button {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: none;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Color variations for different groups */
.desktop-icon-button.daily-operations {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-left: 4px solid #0078d4;
}

.desktop-icon-button.reports {
    background: linear-gradient(135deg, #ffffff 0%, #f1fcf1 100%);
    border-left: 4px solid #107c10;
}

.desktop-icon-button.administration {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
    border-left: 4px solid #ff8c00;
}

/* Hover effects */
.desktop-icon-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Icon styling */
.desktop-icon-button img {
    max-width: 60px !important;
    max-height: 60px !important;
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.desktop-icon-button:hover img {
    transform: scale(1.1);
}

/* Caption text styling */
.desktop-icon-button span {
    display: block;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0.2px;
}

/* Animation for hover */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 120, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0);
    }
}

.desktop-icon-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .desktop-icon-button {
        width: 120px;
        height: 120px;
    }
    
    .desktop-icon-button img {
        max-width: 50px !important;
        max-height: 50px !important;
        width: 50px !important;
        height: 50px !important;
    }
    
    .desktop-icon-button span {
        font-size: 14px;
    }
}

/* Animation for new tiles */
.desktop-icon-button.new-feature {
    position: relative;
    overflow: hidden;
}

.desktop-icon-button.new-feature::after {
    content: "NEW";
    position: absolute;
    top: 10px;
    right: -25px;
    background: #ff0066;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 25px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}