/* All Apps Styling - Modular CSS for consistent All Apps appearance */

/* All Apps Feature Styling */
.all-apps-feature {
    grid-column: 1 / -1; /* Span full width */
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Neural Border Animation */
.all-apps-feature::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 1rem;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.4), 
        rgba(127, 0, 255, 0.3), 
        rgba(0, 212, 255, 0.3), 
        rgba(37, 99, 235, 0.4));
    background-size: 400% 400%;
    animation: neuralFlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.8;
}

.all-apps-feature:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.all-apps-feature:hover::before {
    opacity: 1;
    animation: neuralFlow 2s ease-in-out infinite;
}

.all-apps-feature.selected {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.all-apps-feature.selected::before {
    opacity: 1;
    animation: neuralFlow 2s ease-in-out infinite;
}

/* All Apps Checkmark Styling - Simple and Functional */
.all-apps-checkmark {
    position: absolute;
    top: 2.5rem; /* Position below the pro-badge */
    right: 0.5rem;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 10;
    content: '✓';
}

/* Show checkmark when selected */
.all-apps-feature.selected .all-apps-checkmark,
.all-apps-item.selected .all-apps-checkmark {
    display: flex;
}

/* Override main workspace checkmark for All Apps - hide the sliding checkmark */
.all-apps-feature.selected::after,
.all-apps-item.selected::after {
    display: none !important;
}

/* Ensure All Apps uses only the simple checkmark */
.all-apps-feature .all-apps-checkmark,
.all-apps-item .all-apps-checkmark {
    content: '✓';
}

/* Pro Badge Styling */
.pro-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* All Apps Item Styling */
.all-apps-item {
    grid-column: 1 / -1; /* Span full width */
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Neural Border Animation for Items */
.all-apps-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 1rem;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.4), 
        rgba(127, 0, 255, 0.3), 
        rgba(0, 212, 255, 0.3), 
        rgba(37, 99, 235, 0.4));
    background-size: 400% 400%;
    animation: neuralFlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.8;
}

.all-apps-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.all-apps-item:hover::before {
    opacity: 1;
    animation: neuralFlow 2s ease-in-out infinite;
}

.all-apps-item.selected {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.all-apps-item.selected::before {
    opacity: 1;
    animation: neuralFlow 2s ease-in-out infinite;
}

/* Neural Flow Animation */
@keyframes neuralFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
} 