.tile {
    border: 1px solid #9CA3AF;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tile.emptyTile {
    border: 1px dashed #007bff;
    background-color: #e6f3ff;
}

.tile:not(.readonly):hover {
    background-color: #d1ecf1;
    border-color: #0056b3;
    cursor: pointer;
}

.tile ul {
    text-align: justify;
    font-size: 15px;
}

.tile .required-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
}

.tile .required-badge::before {
    content: "*";
    margin-right: 2px;
}

.tile .icon-container {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.tile .icon-container .icon {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

.tile .icon.primary { color: #007bff; }
.tile .icon.skGreen { color: #28a745; }
.tile .icon.purple { color: #6f42c1; }

.tile-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.tile-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.tile .action-button {
    display: inline-block;
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.tile .action-button:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .tile {
        padding: 30px 20px;
        min-height: 250px;
    }
}

.no-bullets {
    list-style-type: none;
    padding-left: 0;
}

ul.no-bullets .tile-item-row {
    display: flex;
}

.tile-item-row {
    display: list-item;
    align-items: center;
    gap: 8px;
}

.tile-item-row:hover:has(>.fa-trash-o) i,
.tile-item-row:hover:has(>.fa-trash-o) .item-text {
    color: #ed5565;
    text-decoration: line-through;
}

.tile-item-row:hover:has(>.fa-trash-o) .label {
    background-color: #ed5565;
}

.tile ul {
    width: fit-content;
}